Commit 17cd0db6 authored by Matthias Clasen's avatar Matthias Clasen

Fix some GtkComboBoxText problems

We must use entry-text-column explicitly to 0, since it defaults to -1.
parent a62e1b95
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment