summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8008837)
raw | patch | inline | side by side (parent: 8008837)
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | |
Sun, 30 Oct 2011 21:54:36 +0000 (21:54 +0000) | ||
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | |
Sun, 30 Oct 2011 21:55:05 +0000 (21:55 +0000) |
It's not really used outside of core at all, and has
serious namespace issues. If anyone feels the need to
revive this one, please use a less generic name space.
API: deprecate gst_filter_run()
API: deprecate GstFilterFunc
serious namespace issues. If anyone feels the need to
revive this one, please use a less generic name space.
API: deprecate gst_filter_run()
API: deprecate GstFilterFunc
gst/gstfilter.c | patch | blob | history | |
gst/gstfilter.h | patch | blob | history |
diff --git a/gst/gstfilter.c b/gst/gstfilter.c
index 7d6c055b9b9a961f2968e9733caa82870e79d445..67ae8404973aaab64e85078cfc116c79cc0bebb4 100644 (file)
--- a/gst/gstfilter.c
+++ b/gst/gstfilter.c
* when no longer needed (the data contained in the list is a flat copy
* and does need to be unreferenced or freed).
*/
+#ifndef GST_REMOVE_DEPRECATED
+#ifdef GST_DISABLE_DEPRECATED
+typedef gboolean (*GstFilterFunc) (gpointer obj, gpointer user_data);
+GList *gst_filter_run (const GList * list, GstFilterFunc func, gboolean first,
+ gpointer user_data);
+#endif
GList *
gst_filter_run (const GList * list, GstFilterFunc func, gboolean first,
gpointer user_data)
return result;
}
+#endif /* GST_REMOVE_DEPRECATED */
diff --git a/gst/gstfilter.h b/gst/gstfilter.h
index 1728f000ea558df0807e356470603e78779e641f..6ff1454e78cafe2f7d2a0681337a7b2b22f3100d 100644 (file)
--- a/gst/gstfilter.h
+++ b/gst/gstfilter.h
*
* Returns: %TRUE for success.
*/
+#ifndef GST_DISABLE_DEPRECATED
typedef gboolean (*GstFilterFunc) (gpointer obj, gpointer user_data);
+#endif
+#ifndef GST_DISABLE_DEPRECATED
GList* gst_filter_run (const GList *list, GstFilterFunc func, gboolean first, gpointer user_data);
+#endif
G_END_DECLS