[gtk+] GtkEntryCompletion: Treat ::text-column specially
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GtkEntryCompletion: Treat ::text-column specially
- Date: Thu, 4 Sep 2014 02:46:45 +0000 (UTC)
commit bbc7cd2351eac679148a2e0f0bb645db924687be
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Sep 3 22:44:31 2014 -0400
GtkEntryCompletion: Treat ::text-column specially
Using the setting for this property conflicts with the documentation
for gtk_entry_completion_set_text_column() which explicitly states
that setting the property directly behaves differently. Concretely,
this caused the file chooser entry completion popup to have two
columns (with identical content).
This partially reverts 331c28b369edae9aa3df2a24833ccb02ef8d7152.
gtk/gtkentrycompletion.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkentrycompletion.c b/gtk/gtkentrycompletion.c
index 567ef68..5ab09d9 100644
--- a/gtk/gtkentrycompletion.c
+++ b/gtk/gtkentrycompletion.c
@@ -372,7 +372,7 @@ gtk_entry_completion_class_init (GtkEntryCompletionClass *klass)
-1,
G_MAXINT,
-1,
- GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
+ GTK_PARAM_READWRITE));
/**
* GtkEntryCompletion:inline-completion:
@@ -668,7 +668,7 @@ gtk_entry_completion_set_property (GObject *object,
break;
case PROP_TEXT_COLUMN:
- gtk_entry_completion_set_text_column (completion, g_value_get_int (value));
+ priv->text_column = g_value_get_int (value);
break;
case PROP_INLINE_COMPLETION:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]