From 014c77b4c14c17454bfae71d8ba0b68e9911ecf6 Mon Sep 17 00:00:00 2001 From: Jasmine Hassan Date: Sat, 27 Oct 2012 09:01:45 +0200 Subject: [window] remove dead function caja_window_has_menubar_and_statusbar() http://git.gnome.org/browse/nautilus/commit/?id=eb88f44bd27e11607cb5466c943b9caad0202110 --- src/caja-window.c | 16 ---------------- src/caja-window.h | 1 - 2 files changed, 17 deletions(-) (limited to 'src') 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 -- cgit v1.2.1