elementfactory: use new 'transfer floating' annotation for gst_element_factory_make()
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Mon, 12 Dec 2011 12:11:40 +0000 (12:11 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Mon, 12 Dec 2011 12:11:40 +0000 (12:11 +0000)
Requires gobject-introspection 1.31.1 (older versions will
error out with that).

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

configure.ac
gst/gstelementfactory.c

index a747726..e2cf99b 100644 (file)
@@ -244,7 +244,7 @@ AC_PATH_PROG(VALGRIND_PATH, valgrind, no)
 AM_CONDITIONAL(HAVE_VALGRIND, test ! "x$VALGRIND_PATH" = "xno")
 
 dnl check for gobject-introspection
-GOBJECT_INTROSPECTION_CHECK([0.6.8])
+GOBJECT_INTROSPECTION_CHECK([1.31.1])
 
 dnl check for documentation tools
 AG_GST_DOCBOOK_CHECK
index cc0713d..2d0d8fd 100644 (file)
@@ -334,7 +334,7 @@ detailserror:
  * It will be given the name supplied, since all elements require a name as
  * their first argument.
  *
- * Returns: (transfer full): new #GstElement or NULL if the element couldn't
+ * Returns: (transfer floating): new #GstElement or NULL if the element couldn't
  *     be created
  */
 GstElement *
@@ -421,7 +421,7 @@ no_element:
  * consisting of the element factory name and a number.
  * If name is given, it will be given the name supplied.
  *
- * Returns: (transfer full): new #GstElement or NULL if unable to create element
+ * Returns: (transfer floating): new #GstElement or NULL if unable to create element
  */
 GstElement *
 gst_element_factory_make (const gchar * factoryname, const gchar * name)