Fix some GtkComboBoxText problems

We must use entry-text-column explicitly to 0, since it defaults to -1.
This commit is contained in:
Matthias Clasen 2010-10-16 08:17:34 -04:00
parent a62e1b95bc
commit 17cd0db6a8

View File

@ -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);
}