docs: remove dummy function declarations with G_INLINE_FUNCTION for gtk-doc
authorTim-Philipp Müller <tim@centricular.com>
Sun, 3 Jan 2016 17:21:18 +0000 (17:21 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Sun, 3 Jan 2016 17:21:18 +0000 (17:21 +0000)
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
gst-libs/gst/video/video-overlay-composition.h

index a72a4ef..09ae190 100644 (file)
@@ -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)
 {
index 9e75538..d1609cc 100644 (file)
@@ -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)
 {