From ef29013fdfd0df5d4a3cc6c5a8fb1583aabef952 Mon Sep 17 00:00:00 2001 From: Pablo Barciela Date: Fri, 14 Jun 2019 09:30:32 +0200 Subject: src: reduce the scope of some variables --- src/caja-freedesktop-dbus.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/caja-freedesktop-dbus.c') diff --git a/src/caja-freedesktop-dbus.c b/src/caja-freedesktop-dbus.c index 223f2758..769c15ad 100644 --- a/src/caja-freedesktop-dbus.c +++ b/src/caja-freedesktop-dbus.c @@ -122,7 +122,6 @@ skeleton_handle_show_item_properties_cb (CajaFreedesktopFileManager1 *object, CajaFreedesktopDBus *fdb) { CajaApplication *application; - CajaWindow *window; GList *files; int i; @@ -137,6 +136,8 @@ skeleton_handle_show_item_properties_cb (CajaFreedesktopFileManager1 *object, if (uris[0] != NULL) { GFile *file; + CajaWindow *window; + file = g_file_new_for_uri (uris[i]); window = caja_application_get_spatial_window (application, NULL, -- cgit v1.2.1