GtkEntryCompletion: call setter for "text-column"

Call gtk_entry_completion_set_text_column() when setting the
"text-column" property directly.

The completion appeared empty when setting "text-column" directly (for
example from a GtkBuilder file), because the setter creates and adds the
GtkCellRendererText.

https://bugzilla.gnome.org/show_bug.cgi?id=710533
This commit is contained in:
Lars Uebernickel 2013-10-30 23:34:50 -07:00
parent 4f7170fd56
commit 9761a966d8

View File

@ -653,7 +653,8 @@ gtk_entry_completion_set_property (GObject *object,
break;
case PROP_TEXT_COLUMN:
priv->text_column = g_value_get_int (value);
gtk_entry_completion_set_text_column (completion,
g_value_get_int (value));
break;
case PROP_INLINE_COMPLETION: