function directly to its "changed" signal; GtkComboBox is a subclass of
GtkBin, but you don't connect to its child.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36837
f5534014-38df-0310-8fa8-
9805f1628bb7
#endif
gtk_box_pack_start (GTK_BOX(linktype_hb), linktype_combo_box, FALSE, FALSE, 0);
g_object_set_data(G_OBJECT(cap_open_w), E_CAP_LT_CBX_KEY, linktype_combo_box);
- g_signal_connect(gtk_bin_get_child(GTK_BIN(if_cb)), "changed",
+ g_signal_connect(GTK_COMBO_BOX(if_cb), "changed",
G_CALLBACK(capture_prep_interface_changed_cb), NULL);
/* Promiscuous mode row */