GST_EXPORT GstDebugCategory *GST_CAT_REGISTRY;
GST_EXPORT GstDebugCategory *GST_CAT_QOS;
GST_EXPORT GstDebugCategory *GST_CAT_TYPES; /* FIXME 0.11: remove? */
-GST_EXPORT GstDebugCategory *GST_CAT_POLL;
+
+/* Categories that should be completely private to
+ * libgstreamer should be done like this: */
+#define GST_CAT_POLL _priv_GST_CAT_POLL
+GstDebugCategory *_priv_GST_CAT_POLL;
#else
GstDebugCategory *GST_CAT_PROBE = NULL;
GstDebugCategory *GST_CAT_REGISTRY = NULL;
GstDebugCategory *GST_CAT_QOS = NULL;
-GstDebugCategory *GST_CAT_POLL = NULL;
+GstDebugCategory *_priv_GST_CAT_POLL = NULL;
#endif /* !defined(GST_DISABLE_GST_DEBUG) || !defined(GST_REMOVE_DISABLED) */
GST_DEBUG_BOLD | GST_DEBUG_FG_GREEN, "pad probes");
GST_CAT_REGISTRY = _gst_debug_category_new ("GST_REGISTRY", 0, "registry");
GST_CAT_QOS = _gst_debug_category_new ("GST_QOS", 0, "QoS");
- GST_CAT_POLL = _gst_debug_category_new ("GST_POLL", 0, "poll");
+ _priv_GST_CAT_POLL = _gst_debug_category_new ("GST_POLL", 0, "poll");
/* print out the valgrind message if we're in valgrind */