[glade] Updated to new GtkContainer template API changes



commit 7a44de2ae533b0bd0ad4c2a3ad02d6e26a820f3f
Author: Juan Pablo Ugarte <juanpablougarte gmail com>
Date:   Mon Nov 26 10:20:09 2012 -0300

    Updated to new GtkContainer template API changes

 gladeui/glade-widget-adaptor.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gladeui/glade-widget-adaptor.c b/gladeui/glade-widget-adaptor.c
index 56affc7..ccfb61b 100644
--- a/gladeui/glade-widget-adaptor.c
+++ b/gladeui/glade-widget-adaptor.c
@@ -810,7 +810,7 @@ glade_widget_adaptor_set_template (GladeWidgetAdaptor *adaptor,
   object_type = glade_widget_adaptor_get_object_type (adaptor);
   klass = g_type_class_peek (object_type);
 #if HAVE_GTK_CONTAINER_CLASS_SET_TEMPLATE_FROM_STRING
-  gtk_container_class_set_template_from_string (klass, priv->template_xml);
+  gtk_container_class_set_template_from_string (klass, priv->template_xml, "this");
 #endif
   gwa_template_rebuild_objects (adaptor, object_type);
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]