From a81abdeee5a761f63c7740c7948e9b38107a7b68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Mon, 12 Dec 2011 12:11:40 +0000 Subject: [PATCH] elementfactory: use new 'transfer floating' annotation for gst_element_factory_make() Requires gobject-introspection 1.31.1 (older versions will error out with that). https://bugzilla.gnome.org/show_bug.cgi?id=664099 --- configure.ac | 2 +- gst/gstelementfactory.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index a7477265ad..e2cf99b217 100644 --- a/configure.ac +++ b/configure.ac @@ -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 diff --git a/gst/gstelementfactory.c b/gst/gstelementfactory.c index cc0713d7c4..2d0d8fd3b3 100644 --- a/gst/gstelementfactory.c +++ b/gst/gstelementfactory.c @@ -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)