More -DGSEAL_ENABLE cleanup in preparation for GTK+ 3
authorsfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 7 Feb 2011 19:21:45 +0000 (19:21 +0000)
committersfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 7 Feb 2011 19:21:45 +0000 (19:21 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35852 f5534014-38df-0310-8fa8-9805f1628bb7

gtk/prefs_capture.c

index ee389436f43ae6c19e452dd6d99bbd0e69b5a356..8455445cf4456c5407e8c9c4107977012672920e 100644 (file)
@@ -242,15 +242,15 @@ capture_prefs_fetch(GtkWidget *w)
        }
        prefs.capture_device = if_text;
 
-       prefs.capture_prom_mode = GTK_TOGGLE_BUTTON (promisc_cb)->active;
+       prefs.capture_prom_mode = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(promisc_cb));
 
-       prefs.capture_pcap_ng = GTK_TOGGLE_BUTTON (pcap_ng_cb)->active;
+       prefs.capture_pcap_ng = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(pcap_ng_cb));
 
-       prefs.capture_real_time = GTK_TOGGLE_BUTTON (sync_cb)->active;
+       prefs.capture_real_time = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(sync_cb));
 
-       prefs.capture_auto_scroll = GTK_TOGGLE_BUTTON (auto_scroll_cb)->active;
+       prefs.capture_auto_scroll = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(auto_scroll_cb));
 
-       prefs.capture_show_info = !(GTK_TOGGLE_BUTTON (show_info_cb)->active);
+       prefs.capture_show_info = !(gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(show_info_cb)));
 }
 
 void