doc: Do not use deprecated gtk-doc 'Rename to' tag
authorLuis de Bethencourt <luis.bg@samsung.com>
Sat, 1 Nov 2014 19:56:41 +0000 (19:56 +0000)
committerLuis de Bethencourt <luis.bg@samsung.com>
Sun, 2 Nov 2014 15:17:57 +0000 (15:17 +0000)
GObject introspection GTK-Doc tag "Rename to" has been deprecated, changing to
rename-to annotation.

https://bugzilla.gnome.org/show_bug.cgi?id=739514

gst/gstbus.c
libs/gst/base/gstadapter.c

index b9ce67b..f0ef600 100644 (file)
@@ -877,7 +877,7 @@ gst_bus_add_watch_full_unlocked (GstBus * bus, gint priority,
 }
 
 /**
- * gst_bus_add_watch_full:
+ * gst_bus_add_watch_full: (rename-to gst_bus_add_watch)
  * @bus: a #GstBus to create the watch for.
  * @priority: The priority of the watch.
  * @func: A function to call when a message is received.
@@ -904,7 +904,6 @@ gst_bus_add_watch_full_unlocked (GstBus * bus, gint priority,
  * MT safe.
  *
  * Returns: The event source id or 0 if @bus already got an event source.
- * Rename to: gst_bus_add_watch
  */
 guint
 gst_bus_add_watch_full (GstBus * bus, gint priority,
index fc1582b..855d350 100644 (file)
@@ -549,7 +549,7 @@ gst_adapter_copy (GstAdapter * adapter, gpointer dest, gsize offset, gsize size)
 }
 
 /**
- * gst_adapter_copy_bytes:
+ * gst_adapter_copy_bytes: (rename-to gst_adapter_copy)
  * @adapter: a #GstAdapter
  * @offset: the bytes offset in the adapter to start from
  * @size: the number of bytes to copy
@@ -561,8 +561,6 @@ gst_adapter_copy (GstAdapter * adapter, gpointer dest, gsize offset, gsize size)
  *
  * Returns: (transfer full): A new #GBytes structure containing the copied data.
  *
- * Rename to: gst_adapter_copy
- *
  * Since: 1.4
  */
 GBytes *