GNOME Bugzilla – Bug 321542
GtkComboBox doesn't emit "notify::active"
Last modified: 2005-11-21 15:02:32 UTC
Create a simple GtkComboBox, connect to "notify::active" and change the selected item. The handler won't be run.
Created attachment 54791 [details] [review] Suggested fix This patch adds g_object_notify(combo_box,"active") to gtk_combo_box_set_active_internal(), and also replaces g_signal_emit_by_name() with g_signal_emit().
Fix for bug #321542, Benedikt Meurer: * gtk/gtkcombobox.c (gtk_combo_box_set_active_internal): Emit notify::active. (gtk_combo_box_child_show, gtk_combo_box_child_hide): Use g_signal_emit, not g_signal_emit_by_name.