gst/gstthread.c: fix docs
authorBenjamin Otte <otte@gnome.org>
Tue, 30 Mar 2004 18:02:38 +0000 (18:02 +0000)
committerBenjamin Otte <otte@gnome.org>
Tue, 30 Mar 2004 18:02:38 +0000 (18:02 +0000)
Original commit message from CVS:
* gst/gstthread.c:
fix docs
* gst/gstutils.h:
fix GST_BOILERPLATE_FULL to not throw casting errors on C++

ChangeLog
gst/gstthread.c
gst/gstutils.h

index e533303df83d5ef9345d822fbc8e821e3b1a75ff..9e61b488fb94f94ede3269179da85942b71c9ac1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2004-03-30  Benjamin Otte  <in7y118@public.uni-hamburg.de>
+
+       * gst/gstthread.c:
+         fix docs
+       * gst/gstutils.h:
+         fix GST_BOILERPLATE_FULL to not throw casting errors on C++
+
 2004-03-30  Benjamin Otte  <otte@gnome.org>
 
        * gst/elements/gstbufferstore.c: (gst_buffer_store_get_buffer):
index 2aa7edca4eba8f695938ce67b294c6055144300f..d70910ce03e981f8503610048d94d5bc1509939b 100644 (file)
@@ -299,7 +299,7 @@ gst_thread_new (const gchar * name)
 /**
  * gst_thread_get_current:
  *
- * Create a new thread with the given name.
+ * Gets the current GstThread.
  *
  * Returns: The current GstThread or NULL if you are not running inside a 
  *          #GstThread.
index 1c29f8384e2d5e73dc9db60f329da1ee810fbe3c..bc412fa454cd0d4944e027e572aea367d0d4d784 100644 (file)
@@ -78,7 +78,7 @@ type_as_function ## _get_type (void)                                          \
       (GInstanceInitFunc) type_as_function ## _init                            \
     };                                                                         \
     object_type = g_type_register_static (parent_type_macro, #type,            \
-       &object_info, 0);                                                       \
+       &object_info, (GTypeFlags) 0);                                                  \
     additional_initializations (object_type);                                  \
   }                                                                            \
   return object_type;                                                          \