summaryrefslogtreecommitdiff
path: root/caja/caja-engrampa.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2014-11-23 11:58:01 +0300
committerinfirit <[email protected]>2014-11-23 12:42:17 +0100
commitf32833432efea5dab92e4b5a3c24c8ac8edf3b49 (patch)
tree1c685f024028b80fe893fe704e0a64b6a3df95d2 /caja/caja-engrampa.c
parent32c66f997b730f8e4ff6f2b4830f259951ec1112 (diff)
downloadengrampa-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
Diffstat (limited to 'caja/caja-engrampa.c')
-rw-r--r--caja/caja-engrampa.c3
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);
}
}