diff options
author | Bill Meier <wmeier@newsguy.com> | 2010-08-23 19:29:08 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2010-08-23 19:29:08 +0000 |
commit | 66d340863f85d976285b0c88cd1e1a0e597fe1db (patch) | |
tree | 3920890a2b7ff94181a74f45bb98623ca47622e7 /gtk/airpcap_dlg.h | |
parent | f2b0e1f5df4ab9dc6a15f7694a8a97c056018dd1 (diff) |
(Minor) Cleanup signal callbak signatures and related:
- Don't mark callback arg as _U_ if actually used (and vice-versa);
- Use Null as user_data in g_signal_callback if unused in callback;
- Use correct signature for certain event callbacks.
svn path=/trunk/; revision=33895
Diffstat (limited to 'gtk/airpcap_dlg.h')
-rw-r--r-- | gtk/airpcap_dlg.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gtk/airpcap_dlg.h b/gtk/airpcap_dlg.h index 3649337188..caa9e8f33c 100644 --- a/gtk/airpcap_dlg.h +++ b/gtk/airpcap_dlg.h @@ -60,7 +60,7 @@ update_decryption_mode_list(GtkWidget *w); * Callback for the 'Add Key' button. */ void -on_add_new_key_bt_clicked(GtkWidget *button, gpointer data _U_); +on_add_new_key_bt_clicked(GtkWidget *button _U_, gpointer data); /* * Callback for the 'Remove Key' button. @@ -124,7 +124,7 @@ on_key_management_cancel_bt_clicked(GtkWidget *button, gpointer data _U_); /* the window was closed, cleanup things */ void -on_key_management_destroy(GtkWidget *w _U_, gpointer data _U_); +on_key_management_destroy(GtkWidget *w _U_, gpointer data); /* * Callback for the 'Reset Configuration' button. @@ -136,7 +136,7 @@ on_reset_configuration_bt_clicked(GtkWidget *button, gpointer data _U_); * Turns the decryption on or off */ void -on_decryption_mode_cb_changed(GtkWidget *w, gpointer data); +on_decryption_mode_cb_changed(GtkWidget *w, gpointer data _U_); /* * Selects the current decryption mode in the given combo box @@ -168,9 +168,9 @@ on_key_ls_unselect_row(GtkWidget *widget, * Callback for the click column event in the key list widget */ void -on_key_ls_click_column(GtkWidget *widget, - gint column, - gpointer data); +on_key_ls_click_column(GtkWidget *widget _U_, + gint column _U_, + gpointer data _U_); /* * Thread function used to blink the led @@ -181,13 +181,13 @@ gboolean update_blink(gpointer data _U_); * Blink button callback */ void -on_blink_bt_clicked(GtkWidget *blink_bt _U_, gpointer if_data); +on_blink_bt_clicked(GtkWidget *blink_bt, gpointer data _U_); /* * Callback for the 'Any' adapter What's This button. */ void -on_what_s_this_bt_clicked( GtkWidget *blink_bt _U_, gpointer if_data ); +on_what_s_this_bt_clicked( GtkWidget *blink_bt _U_, gpointer data _U_); /** Create a "Airpcap" dialog box caused by a button click. * |