summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2018-03-04 10:24:49 +0200
committerSebastian Dröge <sebastian@centricular.com>2018-03-04 10:25:08 +0200
commita1bf0f0e6a8118eab309707f52a64e1ce2c2be95 (patch)
tree3a5aa6aea1f17f429e8e14182f858e0da667a521
parent87be91a260c2cc48be8bcf31d6d57c736f559947 (diff)
gst: Add some more (type filename) annotations
-rw-r--r--gst/gstpreset.c4
-rw-r--r--gst/gsturi.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/gst/gstpreset.c b/gst/gstpreset.c
index 22509f646..01a1a2946 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 6113902f8..96bbda223 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