summaryrefslogtreecommitdiff
path: root/src/caja-navigation-window-menus.c
diff options
context:
space:
mode:
authorlukefromdc <[email protected]>2016-11-22 15:02:51 -0500
committerlukefromdc <[email protected]>2016-11-22 15:02:51 -0500
commit276eb145ce96d5f75f8d3901daf6310f60ddbb81 (patch)
tree544f41e76c9a91973867065696fc2e414ca60170 /src/caja-navigation-window-menus.c
parent969e4d021fe49654fe6e5ee7e88c920fec126505 (diff)
downloadcaja-276eb145ce96d5f75f8d3901daf6310f60ddbb81.tar.bz2
caja-276eb145ce96d5f75f8d3901daf6310f60ddbb81.tar.xz
move to GTK+3 (>= 3.14), drop libunique, GTK+2 code, and --with-gtk build option
*Remove GTK_VERSION_CHECK (3, 0, 0) and libunique selectors *Remove GTK2 and libunique specific code. *Leaves selector for specific GTK3 versions. *Remove #DEFINES for vbox/hbox previously required for GTK2 compatability *Keep vbox in caja-spatial-window.c, it is necessary for the desktop to work *spatial-window vbox issue at https://github.com/mate-desktop/caja/issues/591
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);
}