Index: chrome/browser/ui/libgtk2ui/print_dialog_gtk2.h |
diff --git a/chrome/browser/ui/libgtk2ui/print_dialog_gtk2.h b/chrome/browser/ui/libgtk2ui/print_dialog_gtk2.h |
index ce39b5a22145a914042f3e15c92554aceb40243b..162e2f68516dff06325fa84c0275ea1799c75252 100644 |
--- a/chrome/browser/ui/libgtk2ui/print_dialog_gtk2.h |
+++ b/chrome/browser/ui/libgtk2ui/print_dialog_gtk2.h |
@@ -48,6 +48,9 @@ class PrintDialogGtk2 |
void AddRefToDialog() override; |
void ReleaseDialog() override; |
+ // Handles print job response. |
+ void OnJobCompleted(GtkPrintJob* print_job, const GError* error); |
+ |
private: |
friend struct content::BrowserThread::DeleteOnThread< |
content::BrowserThread::UI>; |
@@ -62,12 +65,6 @@ class PrintDialogGtk2 |
// Prints document named |document_name|. |
void SendDocumentToPrinter(const base::string16& document_name); |
- // Handles print job response. |
- static void OnJobCompletedThunk(GtkPrintJob* print_job, |
- gpointer user_data, |
- GError* error); |
- void OnJobCompleted(GtkPrintJob* print_job, GError* error); |
- |
// Helper function for initializing |context_|'s PrintSettings with a given |
// |settings|. |
void InitPrintSettings(printing::PrintSettings* settings); |