summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/caja-window.c16
-rw-r--r--src/caja-window.h1
2 files changed, 0 insertions, 17 deletions
diff --git a/src/caja-window.c b/src/caja-window.c
index ebe25a57..55a83e52 100644
--- a/src/caja-window.c
+++ b/src/caja-window.c
@@ -2179,19 +2179,3 @@ caja_window_class_init (CajaWindowClass *class)
g_type_class_add_private (G_OBJECT_CLASS (class), sizeof (CajaWindowDetails));
}
-
-/**
- * caja_window_has_menubar_and_statusbar:
- * @window: A #CajaWindow
- *
- * Queries whether the window should have a menubar and statusbar, based on the
- * window_type from its class structure.
- *
- * Return value: TRUE if the window should have a menubar and statusbar; FALSE
- * otherwise.
- **/
-gboolean
-caja_window_has_menubar_and_statusbar (CajaWindow *window)
-{
- return (caja_window_get_window_type (window) != CAJA_WINDOW_DESKTOP);
-}
diff --git a/src/caja-window.h b/src/caja-window.h
index d13129a7..fc4c8999 100644
--- a/src/caja-window.h
+++ b/src/caja-window.h
@@ -161,6 +161,5 @@ void caja_window_allow_stop (CajaWindow *window,
void caja_window_allow_burn_cd (CajaWindow *window,
gboolean allow);
GtkUIManager * caja_window_get_ui_manager (CajaWindow *window);
-gboolean caja_window_has_menubar_and_statusbar (CajaWindow *window);
#endif