chain bin restore to parent method
authorThomas Vander Stichele <thomas@apestaart.org>
Sun, 4 Jul 2004 10:26:24 +0000 (10:26 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Sun, 4 Jul 2004 10:26:24 +0000 (10:26 +0000)
Original commit message from CVS:
chain bin restore to parent method

ChangeLog
gst/gstbin.c

index 27e0fe1..932fa82 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-07-04  Thomas Vander Stichele  <thomas at apestaart dot org>
+
+       * gst/gstbin.c: (gst_bin_restore_thyself):
+         chain to parent restore so the bins get restored correctly
+          in the editor
+
 2004-07-03  David Schleef  <ds@schleef.org>
 
        * gst/gstcaps.c: (gst_caps_save_thyself), (gst_caps_load_thyself):
index 339c55b..b19a790 100644 (file)
@@ -1106,6 +1106,8 @@ gst_bin_restore_thyself (GstObject * object, xmlNodePtr self)
 
     field = field->next;
   }
+  if (GST_OBJECT_CLASS (parent_class)->restore_thyself)
+    (GST_OBJECT_CLASS (parent_class)->restore_thyself) (object, self);
 }
 #endif /* GST_DISABLE_LOADSAVE */