diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-07 01:40:52 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-07 01:40:52 +0000 |
commit | ebb1782ad3c2d0f8d12e99da81a1d99e91ef5fe0 (patch) | |
tree | b5c79d1876497848ddc8880dcc281f1604409b83 /chrome/browser/gtk/first_run_bubble.h | |
parent | 7ea9419dab2d53344207a3d9507b960b31ee0704 (diff) | |
download | chromium_src-ebb1782ad3c2d0f8d12e99da81a1d99e91ef5fe0.zip chromium_src-ebb1782ad3c2d0f8d12e99da81a1d99e91ef5fe0.tar.gz chromium_src-ebb1782ad3c2d0f8d12e99da81a1d99e91ef5fe0.tar.bz2 |
More gtk signal handler macro conversion.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/1981006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46652 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/first_run_bubble.h')
-rw-r--r-- | chrome/browser/gtk/first_run_bubble.h | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/chrome/browser/gtk/first_run_bubble.h b/chrome/browser/gtk/first_run_bubble.h index 2c1b095..31355d0 100644 --- a/chrome/browser/gtk/first_run_bubble.h +++ b/chrome/browser/gtk/first_run_bubble.h @@ -46,20 +46,9 @@ class FirstRunBubble : public InfoBubbleGtkDelegate, const gfx::Rect& rect); ~FirstRunBubble() { } - static void HandleChangeButtonThunk(GtkWidget* widget, gpointer user_data) { - reinterpret_cast<FirstRunBubble*>(user_data)->HandleChangeButton(); - } - void HandleChangeButton(); - - static void HandleDestroyThunk(GtkWidget* widget, gpointer userdata) { - reinterpret_cast<FirstRunBubble*>(userdata)->HandleDestroy(); - } - void HandleDestroy(); - - static void HandleKeepButtonThunk(GtkWidget* widget, gpointer user_data) { - reinterpret_cast<FirstRunBubble*>(user_data)->HandleKeepButton(); - } - void HandleKeepButton(); + CHROMEGTK_CALLBACK_0(FirstRunBubble, void, HandleDestroy); + CHROMEGTK_CALLBACK_0(FirstRunBubble, void, HandleKeepButton); + CHROMEGTK_CALLBACK_0(FirstRunBubble, void, HandleChangeButton); // Our current profile. Profile* profile_; |