forked from AuroraMiddleware/gtk
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:
parent
4f7170fd56
commit
9761a966d8
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user