diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2008-04-11 22:10:36 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2008-04-11 22:10:36 +0000 |
commit | 736cada149a32e9c067f01e8a305c7c540e5d9e5 (patch) | |
tree | ca1d9084ba2eda116080ce5624e1cbbc295934a2 /gtk/goto_dlg.c | |
parent | f9f87904c43d34561deca1b89a42ca014a1c20f1 (diff) | |
download | wireshark-736cada149a32e9c067f01e8a305c7c540e5d9e5.tar.gz wireshark-736cada149a32e9c067f01e8a305c7c540e5d9e5.tar.bz2 wireshark-736cada149a32e9c067f01e8a305c7c540e5d9e5.zip |
third round to replace SIGNAL_CONNECT with g_signal_connect
svn path=/trunk/; revision=24914
Diffstat (limited to 'gtk/goto_dlg.c')
-rw-r--r-- | gtk/goto_dlg.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/goto_dlg.c b/gtk/goto_dlg.c index f66ae11265..8c49d382ee 100644 --- a/gtk/goto_dlg.c +++ b/gtk/goto_dlg.c @@ -82,14 +82,14 @@ goto_frame_cb(GtkWidget *w _U_, gpointer d _U_) gtk_widget_show(bbox); ok_bt = g_object_get_data(G_OBJECT(bbox), GTK_STOCK_JUMP_TO); - SIGNAL_CONNECT(ok_bt, "clicked", goto_frame_ok_cb, goto_frame_w); + SIGNAL_CONNECT(ok_bt, "clicked", G_CALLBACK(goto_frame_ok_cb), goto_frame_w); cancel_bt = g_object_get_data(G_OBJECT(bbox), GTK_STOCK_CANCEL); window_set_cancel_button(goto_frame_w, cancel_bt, window_cancel_button_cb); if(topic_available(HELP_GOTO_DIALOG)) { help_bt = g_object_get_data(G_OBJECT(bbox), GTK_STOCK_HELP); - SIGNAL_CONNECT(help_bt, "clicked", topic_cb, HELP_GOTO_DIALOG); + SIGNAL_CONNECT(help_bt, "clicked", G_CALLBACK(topic_cb), HELP_GOTO_DIALOG); } gtk_widget_grab_default(ok_bt); @@ -106,7 +106,7 @@ goto_frame_cb(GtkWidget *w _U_, gpointer d _U_) /* Attach pointers to needed widgets to the capture prefs window/object */ g_object_set_data(G_OBJECT(goto_frame_w), E_GOTO_FNUMBER_KEY, fnumber_te); - SIGNAL_CONNECT(goto_frame_w, "delete_event", window_delete_event_cb, NULL); + SIGNAL_CONNECT(goto_frame_w, "delete_event", G_CALLBACK(window_delete_event_cb), NULL); gtk_widget_show(goto_frame_w); window_present(goto_frame_w); |