gst: Add some more (type filename) annotations

This commit is contained in:
Sebastian Dröge 2018-03-04 10:24:49 +02:00
parent 87be91a260
commit a1bf0f0e6a
2 changed files with 3 additions and 3 deletions

View file

@ -1211,7 +1211,7 @@ gst_preset_get_meta (GstPreset * preset, const gchar * name, const gchar * tag,
/** /**
* gst_preset_set_app_dir: * 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 * 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 * 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 * Gets the directory for application specific presets if set by the
* application. * 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 * the string
*/ */
const gchar * const gchar *

View file

@ -892,7 +892,7 @@ file_path_contains_relatives (const gchar * path)
/** /**
* gst_filename_to_uri: * 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 * @error: pointer to error, or %NULL
* *
* Similar to g_filename_to_uri(), but attempts to handle relative file paths * Similar to g_filename_to_uri(), but attempts to handle relative file paths