message: remove duplicate gst_message_get_type() in init
authorTim-Philipp Müller <tim@centricular.com>
Tue, 21 Oct 2014 11:18:33 +0000 (12:18 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 21 Oct 2014 11:18:33 +0000 (12:18 +0100)
Spotted by: Jan Steffens

gst/gstmessage.c

index 63950eb..8d3892c 100644 (file)
@@ -118,11 +118,6 @@ _priv_gst_message_initialize (void)
 
   GST_CAT_INFO (GST_CAT_GST_INIT, "init messages");
 
-  /* the GstMiniObject types need to be class_ref'd once before it can be
-   * done from multiple threads;
-   * see http://bugzilla.gnome.org/show_bug.cgi?id=304551 */
-  gst_message_get_type ();
-
   for (i = 0; message_quarks[i].name; i++) {
     message_quarks[i].quark =
         g_quark_from_static_string (message_quarks[i].name);