GNOME Bugzilla – Bug 633089
typo in gtkcombo.c leads to gtk-warning
Last modified: 2010-12-22 19:53:57 UTC
Created attachment 173161 [details] [review] patch against git branch gtk-2.23.0 A small typo introduced in 6271cb96: ----------------------------------------------- @@ -666,7 +666,7 @@ gtk_combo_popup_button_press (GtkWidget *button, popup_grab_on_window (combo->popwin->window, gtk_get_current_event_time ()); - gtk_button_pressed (GTK_BUTTON (button)); + g_signal_emit_by_name (button, "depressed"); gtk_grab_add (combo->popwin); ----------------------------------------------- "depressed" should be "pressed". This causes a gtk-warning when clicking on the button on the old gtkcombo widgets, and potential unwanted behavior as callbacks to the "pressed" signal are no longer being called. Patch against 2.23.x attached.