From 7ffd9ce2914b386e0f8deac5ab71c3cf6876841f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Sun, 3 Jan 2016 17:21:18 +0000 Subject: [PATCH] docs: remove dummy function declarations with G_INLINE_FUNCTION for gtk-doc gtk-doc can handle static inline functions just fine these days, there's no need for this stuff any more. --- gst-libs/gst/sdp/gstmikey.h | 24 ------------------------ gst-libs/gst/video/video-overlay-composition.h | 20 -------------------- 2 files changed, 44 deletions(-) diff --git a/gst-libs/gst/sdp/gstmikey.h b/gst-libs/gst/sdp/gstmikey.h index a72a4ef..09ae190 100644 --- a/gst-libs/gst/sdp/gstmikey.h +++ b/gst-libs/gst/sdp/gstmikey.h @@ -174,10 +174,6 @@ GstMIKEYPayload * gst_mikey_payload_new (GstMIKEYPayloadType type); * * Since: 1.4 */ -#ifdef _FOOL_GTK_DOC_ -G_INLINE_FUNC GstMIKEYPayload * gst_mikey_payload_ref (GstMIKEYPayload * payload); -#endif - static inline GstMIKEYPayload * gst_mikey_payload_ref (GstMIKEYPayload * payload) { @@ -192,10 +188,6 @@ gst_mikey_payload_ref (GstMIKEYPayload * payload) * * Since: 1.4 */ -#ifdef _FOOL_GTK_DOC_ -G_INLINE_FUNC void gst_mikey_payload_unref (GstMIKEYPayload * payload); -#endif - static inline void gst_mikey_payload_unref (GstMIKEYPayload * payload) { @@ -212,10 +204,6 @@ gst_mikey_payload_unref (GstMIKEYPayload * payload) * * Since: 1.4 */ -#ifdef _FOOL_GTK_DOC_ -G_INLINE_FUNC GstMIKEYPayload * gst_mikey_payload_copy (const GstMIKEYPayload * payload); -#endif - static inline GstMIKEYPayload * gst_mikey_payload_copy (const GstMIKEYPayload * payload) { @@ -572,10 +560,6 @@ gchar * gst_mikey_message_base64_encode (GstMIKEYMessage * * Since: 1.4 */ -#ifdef _FOOL_GTK_DOC_ -G_INLINE_FUNC GstMIKEYMessage * gst_mikey_message_ref (GstMIKEYMessage * message); -#endif - static inline GstMIKEYMessage * gst_mikey_message_ref (GstMIKEYMessage * message) { @@ -590,10 +574,6 @@ gst_mikey_message_ref (GstMIKEYMessage * message) * * Since: 1.4 */ -#ifdef _FOOL_GTK_DOC_ -G_INLINE_FUNC void gst_mikey_message_unref (GstMIKEYMessage * message); -#endif - static inline void gst_mikey_message_unref (GstMIKEYMessage * message) { @@ -610,10 +590,6 @@ gst_mikey_message_unref (GstMIKEYMessage * message) * * Since: 1.4 */ -#ifdef _FOOL_GTK_DOC_ -G_INLINE_FUNC GstMIKEYMessage * gst_mikey_message_copy (const GstMIKEYMessage * message); -#endif - static inline GstMIKEYMessage * gst_mikey_message_copy (const GstMIKEYMessage * message) { diff --git a/gst-libs/gst/video/video-overlay-composition.h b/gst-libs/gst/video/video-overlay-composition.h index 9e75538..d1609cc 100644 --- a/gst-libs/gst/video/video-overlay-composition.h +++ b/gst-libs/gst/video/video-overlay-composition.h @@ -58,11 +58,6 @@ typedef struct _GstVideoOverlayRectangle GstVideoOverlayRectangle; * * Returns: (transfer full): @comp */ -#ifdef _FOOL_GTK_DOC_ -G_INLINE_FUNC GstVideoOverlayRectangle * -gst_video_overlay_rectangle_ref (GstVideoOverlayRectangle * comp); -#endif - static inline GstVideoOverlayRectangle * gst_video_overlay_rectangle_ref (GstVideoOverlayRectangle * comp) { @@ -76,11 +71,6 @@ gst_video_overlay_rectangle_ref (GstVideoOverlayRectangle * comp) * Decreases the refcount of the rectangle. If the refcount reaches 0, the * rectangle will be freed. */ -#ifdef _FOOL_GTK_DOC_ -G_INLINE_FUNC void -gst_video_overlay_rectangle_unref (GstVideoOverlayRectangle * comp); -#endif - static inline void gst_video_overlay_rectangle_unref (GstVideoOverlayRectangle * comp) { @@ -210,11 +200,6 @@ typedef struct _GstVideoOverlayComposition GstVideoOverlayComposition; * * Returns: (transfer full): @comp */ -#ifdef _FOOL_GTK_DOC_ -G_INLINE_FUNC GstVideoOverlayComposition * -gst_video_overlay_composition_ref (GstVideoOverlayComposition * comp); -#endif - static inline GstVideoOverlayComposition * gst_video_overlay_composition_ref (GstVideoOverlayComposition * comp) { @@ -228,11 +213,6 @@ gst_video_overlay_composition_ref (GstVideoOverlayComposition * comp) * Decreases the refcount of the composition. If the refcount reaches 0, the * composition will be freed. */ -#ifdef _FOOL_GTK_DOC_ -G_INLINE_FUNC void -gst_video_overlay_composition_unref (GstVideoOverlayComposition * comp); -#endif - static inline void gst_video_overlay_composition_unref (GstVideoOverlayComposition * comp) { -- 2.7.4