From 5dbb27fb50116da00fe9bc84e2a3e37e53dc0232 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Sat, 25 Feb 2012 00:39:53 +0000 Subject: [PATCH] pbutils: fix gst_install_plugins_{sync,async} g-i annotations the gir scanner doesn't use a sensible defaults for string array arguments, so we have to annotate it properly. https://bugzilla.gnome.org/show_bug.cgi?id=668343 --- gst-libs/gst/pbutils/install-plugins.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/gst-libs/gst/pbutils/install-plugins.c b/gst-libs/gst/pbutils/install-plugins.c index fe385ed5ac..d2b01beb74 100644 --- a/gst-libs/gst/pbutils/install-plugins.c +++ b/gst-libs/gst/pbutils/install-plugins.c @@ -597,8 +597,9 @@ gst_install_plugins_installer_exited (GPid pid, gint status, gpointer data) /** * gst_install_plugins_async: - * @details: NULL-terminated array of installer string details (see below) - * @ctx: a #GstInstallPluginsContext, or NULL + * @details: (array zero-terminated=1) (transfer none): NULL-terminated array + * of installer string details (see below) + * @ctx: (allow-none): a #GstInstallPluginsContext, or NULL * @func: (scope async): the function to call when the installer program returns * @user_data: (closure): the user data to pass to @func when called, or NULL * @@ -656,8 +657,9 @@ gst_install_plugins_async (gchar ** details, GstInstallPluginsContext * ctx, /** * gst_install_plugins_sync: - * @details: NULL-terminated array of installer string details - * @ctx: a #GstInstallPluginsContext, or NULL + * @details: (array zero-terminated=1) (transfer none): NULL-terminated array + * of installer string details + * @ctx: (allow-none): a #GstInstallPluginsContext, or NULL * * Requests plugin installation and block until the plugins have been * installed or installation has failed.