gst/gstobject.c: Corrected the registration of the parent-set and parent-unset signal...
authorMurray Cumming <murrayc@murrayc.com>
Sun, 4 Nov 2007 10:13:33 +0000 (10:13 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Sun, 4 Nov 2007 10:13:33 +0000 (10:13 +0000)
Original commit message from CVS:
Patch by: Murray Cumming  <murrayc@murrayc.com>
* gst/gstobject.c:
Corrected the registration of the parent-set and parent-unset
signals: The parameter is a GstObject, not a GObject.

ChangeLog
gst/gstobject.c

index 8ab6469..91b8811 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
+
+       Patch by: Murray Cumming  <murrayc@murrayc.com>
+
+       * gst/gstobject.c:
+         Corrected the registration of the parent-set and parent-unset
+         signals: The parameter is a GstObject, not a GObject.
+
 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
 
        * gst/gst_private.h:
 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
 
        * gst/gst_private.h:
index c1825cc..ed48506 100644 (file)
@@ -217,7 +217,7 @@ gst_object_class_init (GstObjectClass * klass)
   gst_object_signals[PARENT_SET] =
       g_signal_new ("parent-set", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST,
       G_STRUCT_OFFSET (GstObjectClass, parent_set), NULL, NULL,
   gst_object_signals[PARENT_SET] =
       g_signal_new ("parent-set", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST,
       G_STRUCT_OFFSET (GstObjectClass, parent_set), NULL, NULL,
-      g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, G_TYPE_OBJECT);
+      g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, GST_TYPE_OBJECT);
 
   /**
    * GstObject::parent-unset:
 
   /**
    * GstObject::parent-unset:
@@ -229,7 +229,7 @@ gst_object_class_init (GstObjectClass * klass)
   gst_object_signals[PARENT_UNSET] =
       g_signal_new ("parent-unset", G_TYPE_FROM_CLASS (klass),
       G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstObjectClass, parent_unset), NULL,
   gst_object_signals[PARENT_UNSET] =
       g_signal_new ("parent-unset", G_TYPE_FROM_CLASS (klass),
       G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstObjectClass, parent_unset), NULL,
-      NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, G_TYPE_OBJECT);
+      NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, GST_TYPE_OBJECT);
 
 #ifndef GST_DISABLE_LOADSAVE
   /**
 
 #ifndef GST_DISABLE_LOADSAVE
   /**