Switch to libgsystem local allocation macros
And drop our compatibility wrapper.
This commit is contained in:
1 parent
bb6eedfb25
commit
4b170d656c
42 files changed
+480
-521
No files matched your search
@@ -39,7 +39,7 @@ cat_one_file (GFile *f,
|
||||
GError **error)
|
||||
{
|
||||
gboolean ret = FALSE;
|
||||
ot_lobj GInputStream *in = NULL;
|
||||
gs_unref_object GInputStream *in = NULL;
|
||||
|
||||
in = (GInputStream*)g_file_read (f, cancellable, error);
|
||||
if (!in)
|
||||
@@ -62,10 +62,10 @@ ostree_builtin_cat (int argc, char **argv, GFile *repo_path, GError **error)
|
||||
int i;
|
||||
GCancellable *cancellable = NULL;
|
||||
const char *rev;
|
||||
ot_lobj OstreeRepo *repo = NULL;
|
||||
ot_lobj GOutputStream *stdout_stream = NULL;
|
||||
ot_lobj GFile *root = NULL;
|
||||
ot_lobj GFile *f = NULL;
|
||||
gs_unref_object OstreeRepo *repo = NULL;
|
||||
gs_unref_object GOutputStream *stdout_stream = NULL;
|
||||
gs_unref_object GFile *root = NULL;
|
||||
gs_unref_object GFile *f = NULL;
|
||||
|
||||
context = g_option_context_new ("COMMIT PATH [PATH...] - Concatenate contents of files");
|
||||
g_option_context_add_main_entries (context, options, NULL);
|
||||
|
||||
Reference in new issue
Block a user