mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-04 09:40:19 +00:00
combobox: Don't set the menu's name twice
This commit is contained in:
parent
ea928e4212
commit
f2441c08f1
@ -3046,8 +3046,6 @@ gtk_combo_box_menu_setup (GtkComboBox *combo_box,
|
||||
(GtkTreeMenuHeaderFunc)gtk_combo_box_header_func,
|
||||
combo_box, NULL);
|
||||
|
||||
gtk_widget_set_name (menu, "gtk-combobox-popup-menu");
|
||||
|
||||
g_signal_connect (menu, "key-press-event",
|
||||
G_CALLBACK (gtk_combo_box_menu_key_press), combo_box);
|
||||
gtk_combo_box_set_popup_widget (combo_box, menu);
|
||||
|
Loading…
Reference in New Issue
Block a user