From a1bf0f0e6a8118eab309707f52a64e1ce2c2be95 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Sun, 4 Mar 2018 10:24:49 +0200 Subject: [PATCH] gst: Add some more (type filename) annotations --- gst/gstpreset.c | 4 ++-- gst/gsturi.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gst/gstpreset.c b/gst/gstpreset.c index 22509f6..01a1a29 100644 --- a/gst/gstpreset.c +++ b/gst/gstpreset.c @@ -1211,7 +1211,7 @@ gst_preset_get_meta (GstPreset * preset, const gchar * name, const gchar * tag, /** * gst_preset_set_app_dir: - * @app_dir: the application specific preset dir + * @app_dir: (type filename): the application specific preset dir * * Sets an extra directory as an absolute path that should be considered when * looking for presets. Any presets in the application dir will shadow the @@ -1237,7 +1237,7 @@ gst_preset_set_app_dir (const gchar * app_dir) * Gets the directory for application specific presets if set by the * application. * - * Returns: (nullable): the directory or %NULL, don't free or modify + * Returns: (nullable) (type filename): the directory or %NULL, don't free or modify * the string */ const gchar * diff --git a/gst/gsturi.c b/gst/gsturi.c index 6113902..96bbda2 100644 --- a/gst/gsturi.c +++ b/gst/gsturi.c @@ -892,7 +892,7 @@ file_path_contains_relatives (const gchar * path) /** * gst_filename_to_uri: - * @filename: absolute or relative file name path + * @filename: (type filename): absolute or relative file name path * @error: pointer to error, or %NULL * * Similar to g_filename_to_uri(), but attempts to handle relative file paths -- 2.7.4