mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
Minor fixes to the test utils
This commit is contained in:
parent
ab9e2364c3
commit
8b7b98a871
1 changed files with 4 additions and 4 deletions
|
@ -64,17 +64,17 @@ gchar *
|
|||
ges_test_file_uri (const gchar * filename)
|
||||
{
|
||||
gchar *uri;
|
||||
GFile *cfile, *fdir, *f_xptv;
|
||||
GFile *cfile, *fdir, *f;
|
||||
|
||||
cfile = g_file_new_for_path (__FILE__);
|
||||
fdir = g_file_get_parent (cfile);
|
||||
|
||||
f_xptv = g_file_get_child (fdir, filename);
|
||||
uri = g_file_get_uri (f_xptv);
|
||||
f = g_file_get_child (fdir, filename);
|
||||
uri = g_file_get_uri (f);
|
||||
|
||||
g_object_unref (cfile);
|
||||
g_object_unref (fdir);
|
||||
g_object_unref (f_xptv);
|
||||
g_object_unref (f);
|
||||
|
||||
return uri;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue