diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2008-04-11 21:20:51 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2008-04-11 21:20:51 +0000 |
commit | 9af9a0e6195eab26612f20fb55d4be3603344d0d (patch) | |
tree | 78962f9c9ee3ea7eeb0f13e5de27e903db3d2896 /gtk/capture_if_details_dlg.c | |
parent | 1f4b5e5f076b76e3c4bcae4a62b0dd4166500961 (diff) |
first round to replace SIGNAL_CONNECT with g_signal_connect
This requires some casts to be added and I just don't want to add casts at all possible places. So I compile and only add casts where the (MSVC) compiler has a hard time.
Unfortunately this won't find any problems in Linux/Unix only code - I'll keep an eye on the buildbot and try to fix things as I'm going on ...
svn path=/trunk/; revision=24912
Diffstat (limited to 'gtk/capture_if_details_dlg.c')
-rw-r--r-- | gtk/capture_if_details_dlg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/capture_if_details_dlg.c b/gtk/capture_if_details_dlg.c index c660027fbb..99d1603261 100644 --- a/gtk/capture_if_details_dlg.c +++ b/gtk/capture_if_details_dlg.c @@ -2362,12 +2362,12 @@ capture_if_details_open_win(char *iface) if(topic_available(HELP_CAPTURE_INTERFACES_DETAILS_DIALOG)) { help_bt = g_object_get_data(G_OBJECT(bbox), GTK_STOCK_HELP); - SIGNAL_CONNECT(help_bt, "clicked", topic_cb, HELP_CAPTURE_INTERFACES_DETAILS_DIALOG); + g_signal_connect(help_bt, "clicked", G_CALLBACK(topic_cb), (gpointer) (HELP_CAPTURE_INTERFACES_DETAILS_DIALOG)); } gtk_widget_grab_focus(close_bt); - SIGNAL_CONNECT(details_open_w, "delete_event", window_delete_event_cb, NULL); + g_signal_connect(details_open_w, "delete_event", G_CALLBACK(window_delete_event_cb), NULL); gtk_widget_show_all(details_open_w); window_present(details_open_w); |