diff options
author | Pablo Barciela <[email protected]> | 2019-06-14 09:30:32 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2022-07-20 00:07:37 +0200 |
commit | 25ffc1e58eeb5c2faef66eba1ac58bf0ac19ff67 (patch) | |
tree | 2a79eb2b3fe44cf6b49ec1b2bf23092cbef5d6a1 /src/caja-navigation-window-menus.c | |
parent | ed722a990406ce48b353c5eb7499fa8662cdff12 (diff) | |
download | caja-25ffc1e58eeb5c2faef66eba1ac58bf0ac19ff67.tar.bz2 caja-25ffc1e58eeb5c2faef66eba1ac58bf0ac19ff67.tar.xz |
src: reduce the scope of some variables
Diffstat (limited to 'src/caja-navigation-window-menus.c')
-rw-r--r-- | src/caja-navigation-window-menus.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/caja-navigation-window-menus.c b/src/caja-navigation-window-menus.c index e9d822c0..c8bfcce0 100644 --- a/src/caja-navigation-window-menus.c +++ b/src/caja-navigation-window-menus.c @@ -709,11 +709,12 @@ action_show_hide_search_callback (GtkAction *action, else { CajaQuery *query; - char *uri; query = caja_query_editor_get_query (slot->query_editor); if (query != NULL) { + char *uri; + uri = caja_query_get_location (query); if (uri != NULL) { |