[nautilus] window: remove dead function



commit eb88f44bd27e11607cb5466c943b9caad0202110
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Sat Aug 21 10:18:52 2010 +0200

    window: remove dead function

 src/nautilus-window.c |   16 ----------------
 src/nautilus-window.h |    1 -
 2 files changed, 0 insertions(+), 17 deletions(-)
---
diff --git a/src/nautilus-window.c b/src/nautilus-window.c
index 9652dc7..3763630 100644
--- a/src/nautilus-window.c
+++ b/src/nautilus-window.c
@@ -2072,19 +2072,3 @@ nautilus_window_class_init (NautilusWindowClass *class)
 
 	g_type_class_add_private (G_OBJECT_CLASS (class), sizeof (NautilusWindowDetails));
 }
-
-/**
- * nautilus_window_has_menubar_and_statusbar:
- * @window: A #NautilusWindow
- * 
- * 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
-nautilus_window_has_menubar_and_statusbar (NautilusWindow *window)
-{
-	return (nautilus_window_get_window_type (window) != NAUTILUS_WINDOW_DESKTOP);
-}
diff --git a/src/nautilus-window.h b/src/nautilus-window.h
index 12729b9..5b7f8e6 100644
--- a/src/nautilus-window.h
+++ b/src/nautilus-window.h
@@ -157,6 +157,5 @@ void             nautilus_window_allow_stop           (NautilusWindow    *window
 void             nautilus_window_allow_burn_cd        (NautilusWindow    *window,
                                                        gboolean           allow);
 GtkUIManager *   nautilus_window_get_ui_manager       (NautilusWindow    *window);
-gboolean         nautilus_window_has_menubar_and_statusbar (NautilusWindow *window);
 
 #endif



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]