mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
Fix some GtkComboBoxText problems
We must use entry-text-column explicitly to 0, since it defaults to -1.
This commit is contained in:
parent
a62e1b95bc
commit
17cd0db6a8
@ -78,7 +78,9 @@ gtk_combo_box_text_init (GtkComboBoxText *combo_box)
|
||||
GtkWidget *
|
||||
gtk_combo_box_text_new (void)
|
||||
{
|
||||
return g_object_new (GTK_TYPE_COMBO_BOX_TEXT, NULL);
|
||||
return g_object_new (GTK_TYPE_COMBO_BOX_TEXT,
|
||||
"entry-text-column", 0,
|
||||
NULL);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user