[glade3] * plugins/gtk+/glade-gtk.c: Avoid using gtk_combo_box_set_entry_text_column directly (build for
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glade3] * plugins/gtk+/glade-gtk.c: Avoid using gtk_combo_box_set_entry_text_column directly (build for
- Date: Thu, 16 Dec 2010 08:29:44 +0000 (UTC)
commit dca3e42440c3b0a8109630c6bc1ea7d3bfbe516e
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date: Thu Dec 16 16:32:54 2010 +0900
* plugins/gtk+/glade-gtk.c: Avoid using gtk_combo_box_set_entry_text_column directly (build
for GTK+ 2.20).
ChangeLog | 5 +++++
plugins/gtk+/glade-gtk.c | 5 +++--
2 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index b687fd1..96dc121 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-12-16 Tristan Van Berkom <tristanvb openismus com>
+
+ * plugins/gtk+/glade-gtk.c: Avoid using gtk_combo_box_set_entry_text_column directly (build
+ for GTK+ 2.20).
+
2010-12-15 Tristan Van Berkom <tristanvb openismus com>
* gladeui/glade-project.c: Cleanup glade_project_remove_object(), make sure row_deleted is
diff --git a/plugins/gtk+/glade-gtk.c b/plugins/gtk+/glade-gtk.c
index 9f98a92..f567cc3 100644
--- a/plugins/gtk+/glade-gtk.c
+++ b/plugins/gtk+/glade-gtk.c
@@ -8856,8 +8856,9 @@ glade_gtk_combo_box_set_property (GladeWidgetAdaptor *adaptor,
{
/* Avoid warnings */
if (g_value_get_int (value) >= 0)
- gtk_combo_box_set_entry_text_column (GTK_COMBO_BOX (object),
- g_value_get_int (value));
+ GWA_GET_CLASS (GTK_TYPE_CONTAINER)->set_property (adaptor,
+ object,
+ id, value);
}
else
GWA_GET_CLASS (GTK_TYPE_CONTAINER)->set_property (adaptor,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]