miniobject: Minor cleanup of last commit
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 12 May 2011 07:55:45 +0000 (09:55 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Sat, 14 May 2011 09:39:35 +0000 (11:39 +0200)
gst/gstminiobject.c
gst/gstminiobject.h

index 0fe5a8c..e0d361e 100644 (file)
@@ -59,7 +59,7 @@ typedef struct
 } WeakRefStack;
 
 /* Structure for storing a mini object's private data */
-struct _GstMiniObjectPrivateData
+struct _GstMiniObjectPrivate
 {
   WeakRefStack *wstack;
 };
@@ -162,7 +162,7 @@ gst_mini_object_class_init (gpointer g_class, gpointer class_data)
   mo_class->finalize = gst_mini_object_finalize;
 
   /* Set the instance data type */
-  g_type_class_add_private (g_class, sizeof (GstMiniObjectPrivateData));
+  g_type_class_add_private (g_class, sizeof (GstMiniObjectPrivate));
 }
 
 static void
@@ -174,9 +174,9 @@ gst_mini_object_init (GTypeInstance * instance, gpointer klass)
 
   /* Initialize the mini object's private data */
 
-  mini_object->priv = (GstMiniObjectPrivateData *)
+  mini_object->priv = (GstMiniObjectPrivate *)
       G_TYPE_INSTANCE_GET_PRIVATE (instance, GST_TYPE_MINI_OBJECT,
-      GstMiniObjectPrivateData);
+      GstMiniObjectPrivate);
 
   mini_object->priv->wstack = NULL;
 }
index fbc7801..64232cb 100644 (file)
@@ -145,11 +145,14 @@ typedef enum
  * mini object is already being finalized when the #GstMiniObjectWeakNotify is
  * called, there's not much you could do with the object, apart from e.g. using
  * its adress as hash-index or the like. 
+ *
+ * Since: 0.10.34
+ *
  */
 typedef void (*GstMiniObjectWeakNotify) (gpointer data,
     GstMiniObject * where_the_mini_object_was);
 
-typedef struct _GstMiniObjectPrivateData GstMiniObjectPrivateData;
+typedef struct _GstMiniObjectPrivate GstMiniObjectPrivate;
 
 /**
  * GstMiniObject:
@@ -170,7 +173,7 @@ struct _GstMiniObject {
   guint flags;
 
   /*< private >*/
-  GstMiniObjectPrivateData *priv;
+  GstMiniObjectPrivate *priv;
 };
 
 struct _GstMiniObjectClass {