summaryrefslogtreecommitdiff
path: root/src/caja-navigation-window-menus.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/caja-navigation-window-menus.c')
-rw-r--r--src/caja-navigation-window-menus.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/caja-navigation-window-menus.c b/src/caja-navigation-window-menus.c
index 2f7a1f5b..4b40494c 100644
--- a/src/caja-navigation-window-menus.c
+++ b/src/caja-navigation-window-menus.c
@@ -64,7 +64,6 @@
static void schedule_refresh_go_menu (CajaNavigationWindow *window);
-#if ENABLE_LIBUNIQUE == (FALSE)
static void
action_close_all_windows_callback (GtkAction *action,
gpointer user_data)
@@ -74,14 +73,7 @@ action_close_all_windows_callback (GtkAction *action,
app = CAJA_APPLICATION (g_application_get_default ());
caja_application_close_all_navigation_windows (app);
}
-#else
-static void
-action_close_all_windows_callback (GtkAction *action,
- gpointer user_data)
-{
- caja_application_close_all_navigation_windows ();
-}
-#endif
+
static gboolean
should_open_in_new_tab (void)
{
@@ -622,9 +614,6 @@ action_new_window_callback (GtkAction *action,
current_window = CAJA_WINDOW (user_data);
new_window = caja_application_create_navigation_window (
current_window->application,
-#if ENABLE_LIBUNIQUE == (TRUE)
- NULL,
-#endif
gtk_window_get_screen (GTK_WINDOW (current_window)));
caja_window_go_home (new_window);
}