gst: Add some more (type filename) annotations
authorSebastian Dröge <sebastian@centricular.com>
Sun, 4 Mar 2018 08:24:49 +0000 (10:24 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Sun, 4 Mar 2018 08:25:08 +0000 (10:25 +0200)
gst/gstpreset.c
gst/gsturi.c

index 22509f6..01a1a29 100644 (file)
@@ -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 *
index 6113902..96bbda2 100644 (file)
@@ -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