Use g_autoptr(GPtrArray) instead of gs_unref_ptrarray

This commit is contained in:
Matthew Barnes committed 2015-05-06 22:07:10 -04:00
1 parent 196d983af9
commit bb231fdf74
31 files changed
+60 -61

No files matched your search

+2 -2
View File
@@ -57,7 +57,7 @@ ot_gfile_from_build_path (const char *first, ...)
va_list args;
const char *arg;
g_autofree char *path = NULL;
gs_unref_ptrarray GPtrArray *components = NULL;
g_autoptr(GPtrArray) components = NULL;
va_start (args, first);
@@ -114,7 +114,7 @@ ot_gfile_get_child_build_path (GFile *parent,
va_list args;
const char *arg;
g_autofree char *path = NULL;
gs_unref_ptrarray GPtrArray *components = NULL;
g_autoptr(GPtrArray) components = NULL;
va_start (args, first);