diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-10-30 23:34:50 -0700 |
---|---|---|
committer | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-11-01 08:24:16 -0700 |
commit | 9761a966d8ffda724226a21022a42ce40932b443 (patch) | |
tree | 054840bba0792fa25c6179440f952af7df84fc6b /gtk/gtkentrycompletion.c | |
parent | 4f7170fd568a53133416a3e3f0361f5cdb956334 (diff) | |
download | gtk+-9761a966d8ffda724226a21022a42ce40932b443.tar.gz |
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
Diffstat (limited to 'gtk/gtkentrycompletion.c')
-rw-r--r-- | gtk/gtkentrycompletion.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkentrycompletion.c b/gtk/gtkentrycompletion.c index b62f81d134..0d77663970 100644 --- a/gtk/gtkentrycompletion.c +++ b/gtk/gtkentrycompletion.c @@ -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: |