summaryrefslogtreecommitdiff
path: root/src/caja-window-toolbars.c
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2019-06-14 09:30:32 +0200
committerZenWalker <[email protected]>2019-06-17 15:18:27 +0200
commitef29013fdfd0df5d4a3cc6c5a8fb1583aabef952 (patch)
tree51c2c4afb9259ec97ba3303591bbc8e946f277d9 /src/caja-window-toolbars.c
parentcbd6b367e9b05c08bff88ee1cfa03c09c7ee2558 (diff)
downloadcaja-ef29013fdfd0df5d4a3cc6c5a8fb1583aabef952.tar.bz2
caja-ef29013fdfd0df5d4a3cc6c5a8fb1583aabef952.tar.xz
src: reduce the scope of some variables
Diffstat (limited to 'src/caja-window-toolbars.c')
-rw-r--r--src/caja-window-toolbars.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/caja-window-toolbars.c b/src/caja-window-toolbars.c
index d97a3647..7514a49a 100644
--- a/src/caja-window-toolbars.c
+++ b/src/caja-window-toolbars.c
@@ -147,13 +147,13 @@ get_extension_toolbar_items (CajaNavigationWindow *window)
void
caja_navigation_window_load_extension_toolbar_items (CajaNavigationWindow *window)
{
- GtkActionGroup *action_group;
- GtkAction *action;
GtkUIManager *ui_manager;
GList *items;
GList *l;
- CajaMenuItem *item;
guint merge_id;
+ GtkActionGroup *action_group;
+ GtkAction *action = NULL;
+ CajaMenuItem *item = NULL;
ui_manager = caja_window_get_ui_manager (CAJA_WINDOW (window));
if (window->details->extensions_toolbar_merge_id != 0)