diff options
author | Bill Meier <wmeier@newsguy.com> | 2010-07-30 12:41:56 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2010-07-30 12:41:56 +0000 |
commit | 6cdec04e597968ac846aa5b655c474bf903d16e8 (patch) | |
tree | 72ddaffc17cc39d1ccd907817b20b24cb22e7918 /gtk/profile_dlg.c | |
parent | 11b9ed0426b00dc822d4ab755821f7029b2d821d (diff) |
(Minor) Cleanup some "event callback" function declarations/definitions:
- Add missing 'user_data' arg as needed;
- Use gboolean rather than int as the type of the value returned.
Also: Cleanup whitespace & reformat long lines in a few cases.
svn path=/trunk/; revision=33679
Diffstat (limited to 'gtk/profile_dlg.c')
-rw-r--r-- | gtk/profile_dlg.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/profile_dlg.c b/gtk/profile_dlg.c index e9892dca8f..43c310538f 100644 --- a/gtk/profile_dlg.c +++ b/gtk/profile_dlg.c @@ -494,7 +494,7 @@ profile_dlg_destroy_cb(GtkWidget *w _U_, gpointer data _U_) } -static gint +static gboolean profile_button_press_cb(GtkWidget *list, GdkEventButton *event, gpointer data _U_) { if (event->type == GDK_2BUTTON_PRESS) { @@ -506,7 +506,7 @@ profile_button_press_cb(GtkWidget *list, GdkEventButton *event, gpointer data _U return FALSE; } -static gint +static gboolean profile_key_release_cb(GtkWidget *list, GdkEventKey *event, gpointer data _U_) { if (event->keyval == GDK_Return || event->keyval == GDK_KP_Enter) { @@ -906,7 +906,7 @@ select_profile_cb (GtkWidget *w _U_, gpointer data) } gboolean -profile_show_popup_cb (GtkWidget *w _U_, GdkEvent *event) +profile_show_popup_cb (GtkWidget *w _U_, GdkEvent *event, gpointer user_data _U_) { GdkEventButton *bevent = (GdkEventButton *)event; const gchar *profile_name = get_profile_name (); |