diff options
author | monsta <[email protected]> | 2014-11-23 11:58:01 +0300 |
---|---|---|
committer | infirit <[email protected]> | 2014-11-23 12:42:17 +0100 |
commit | f32833432efea5dab92e4b5a3c24c8ac8edf3b49 (patch) | |
tree | 1c685f024028b80fe893fe704e0a64b6a3df95d2 | |
parent | 32c66f997b730f8e4ff6f2b4830f259951ec1112 (diff) | |
download | engrampa-f32833432efea5dab92e4b5a3c24c8ac8edf3b49.tar.bz2 engrampa-f32833432efea5dab92e4b5a3c24c8ac8edf3b49.tar.xz |
caja-engrampa: fix indentation, add missing unref
see https://git.gnome.org/browse/file-roller/commit/?id=cfffd064e19ca1af3cb331bd11605764424eab47
-rw-r--r-- | caja/caja-engrampa.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/caja/caja-engrampa.c b/caja/caja-engrampa.c index 22de231..0955201 100644 --- a/caja/caja-engrampa.c +++ b/caja/caja-engrampa.c @@ -291,7 +291,7 @@ caja_fr_get_file_items (CajaMenuProvider *provider, return NULL; if (unsupported_scheme ((CajaFileInfo *) files->data)) - return NULL; + return NULL; for (scan = files; scan; scan = scan->next) { CajaFileInfo *file = scan->data; @@ -313,6 +313,7 @@ caja_fr_get_file_items (CajaMenuProvider *provider, parent = caja_file_info_get_parent_info (file); can_write = caja_file_info_can_write (parent); + g_object_unref (parent); } } |