tracer: mark GstTracerQuarkId as non GEnum
authorStefan Sauer <ensonic@users.sf.net>
Tue, 6 Oct 2015 16:49:46 +0000 (18:49 +0200)
committerStefan Sauer <ensonic@users.sf.net>
Tue, 6 Oct 2015 16:49:46 +0000 (18:49 +0200)
This reverts 72ca02b1de4066eeae35c891e275386770117778 and marks the enum
accordingly.

gst/gst.c
gst/gsttracerutils.h

index 2a82d4f..29d737e 100644 (file)
--- a/gst/gst.c
+++ b/gst/gst.c
@@ -677,7 +677,6 @@ init_post (GOptionContext * context, GOptionGroup * group, gpointer data,
   g_type_class_ref (gst_lock_flags_get_type ());
   g_type_class_ref (gst_allocator_flags_get_type ());
   g_type_class_ref (gst_stream_flags_get_type ());
-  g_type_class_ref (gst_tracer_quark_id_get_type ());
 
   _priv_gst_event_initialize ();
   _priv_gst_buffer_initialize ();
@@ -1084,7 +1083,6 @@ gst_deinit (void)
   g_type_class_unref (g_type_class_peek (gst_allocator_flags_get_type ()));
   g_type_class_unref (g_type_class_peek (gst_stream_flags_get_type ()));
   g_type_class_unref (g_type_class_peek (gst_debug_color_mode_get_type ()));
-  g_type_class_unref (g_type_class_peek (gst_tracer_quark_id_get_type ()));
 
   gst_deinitialized = TRUE;
   GST_INFO ("deinitialized GStreamer");
index ea3fa7e..b41bbf8 100644 (file)
@@ -45,7 +45,7 @@ gboolean gst_tracer_register (GstPlugin * plugin, const gchar * name, GType type
 
 /* These enums need to match the number and order
  * of strings declared in _quark_table, in gsttracerutils.c */
-typedef enum _GstTracerQuarkId
+typedef enum /*< skip >*/
 {
   GST_TRACER_QUARK_HOOK_PAD_PUSH_PRE = 0,
   GST_TRACER_QUARK_HOOK_PAD_PUSH_POST,