[glade] GladeEditorSkeleton: Fixed chaining up in buildable (for container packing to work)



commit 4aca4c517a969ad93e5b4519f10a318438197bc4
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date:   Sat Apr 13 23:15:50 2013 +0900

    GladeEditorSkeleton: Fixed chaining up in buildable (for container packing to work)

 gladeui/glade-editor-skeleton.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/gladeui/glade-editor-skeleton.c b/gladeui/glade-editor-skeleton.c
index 4897142..be7f1f6 100644
--- a/gladeui/glade-editor-skeleton.c
+++ b/gladeui/glade-editor-skeleton.c
@@ -187,9 +187,6 @@ glade_editor_skeleton_custom_tag_start (GtkBuildable  *buildable,
                                        GMarkupParser *parser,
                                        gpointer      *data)
 {
-  if (child)
-    return FALSE;
-
   if (strcmp (tagname, "child-editors") == 0)
     {
       EditorParserData *parser_data;
@@ -214,7 +211,7 @@ glade_editor_skeleton_custom_finished (GtkBuildable *buildable,
   EditorParserData *editor_data = (EditorParserData *)user_data;
   GSList *l;
 
-  if (strcmp (tagname, "child-editors"))
+  if (strcmp (tagname, "child-editors") != 0)
     {
       parent_buildable_iface->custom_finished (buildable, builder, child,
                                               tagname, user_data);


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