diff options
author | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-21 17:55:53 +0000 |
---|---|---|
committer | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-21 17:55:53 +0000 |
commit | f212ee44a72d12eb1f9835c20f65e346639cbd93 (patch) | |
tree | 59aa1cfecff40f71136550f4c9646ea69cc8ffdc /chrome/browser/gtk/import_dialog_gtk.h | |
parent | 9d8ad763d1cc3b0665f6feb9bf66b4f6480a4ace (diff) | |
download | chromium_src-f212ee44a72d12eb1f9835c20f65e346639cbd93.zip chromium_src-f212ee44a72d12eb1f9835c20f65e346639cbd93.tar.gz chromium_src-f212ee44a72d12eb1f9835c20f65e346639cbd93.tar.bz2 |
Cleanup Import Dialog in Linux
Remove reference of gtk.h as well as unnecessary casting.
Patch by Mohamed Mansour in http://codereview.chromium.org/113616
Review URL: http://codereview.chromium.org/113711
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16624 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/import_dialog_gtk.h')
-rw-r--r-- | chrome/browser/gtk/import_dialog_gtk.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/chrome/browser/gtk/import_dialog_gtk.h b/chrome/browser/gtk/import_dialog_gtk.h index ad71b40..351aed6 100644 --- a/chrome/browser/gtk/import_dialog_gtk.h +++ b/chrome/browser/gtk/import_dialog_gtk.h @@ -7,8 +7,6 @@ #include "chrome/browser/importer/importer.h" -#include <gtk/gtk.h> - class Profile; typedef struct _GtkWindow GtkWindow; @@ -23,9 +21,8 @@ class ImportDialogGtk { static void HandleOnResponseDialog(GtkWidget* widget, int response, - gpointer user_data) { - reinterpret_cast<ImportDialogGtk*>(user_data)->OnDialogResponse(widget, - response); + ImportDialogGtk* user_data) { + user_data->OnDialogResponse(widget, response); } void OnDialogResponse(GtkWidget* widget, int response); |