[nautilus] window: remove unused code
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] window: remove unused code
- Date: Mon, 9 Jan 2012 22:24:22 +0000 (UTC)
commit 6561bf66c37ffcff450c7880300661ee260ec5c7
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon Jan 2 00:30:05 2012 +0100
window: remove unused code
src/nautilus-window-private.h | 4 ----
src/nautilus-window.c | 7 -------
src/nautilus-window.h | 2 --
3 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/src/nautilus-window-private.h b/src/nautilus-window-private.h
index dcc8e7f..c75306e 100644
--- a/src/nautilus-window-private.h
+++ b/src/nautilus-window-private.h
@@ -79,10 +79,6 @@ struct NautilusWindowDetails
GList *panes;
NautilusWindowPane *active_pane;
- /* So we can tell which window initiated
- * an unmount operation.
- */
- gboolean initiated_unmount;
GtkWidget *content_paned;
GtkWidget *content_box;
diff --git a/src/nautilus-window.c b/src/nautilus-window.c
index b316f84..7813f5e 100644
--- a/src/nautilus-window.c
+++ b/src/nautilus-window.c
@@ -1746,13 +1746,6 @@ nautilus_window_set_hidden_files_mode (NautilusWindow *window,
g_signal_emit_by_name (window, "hidden_files_mode_changed");
}
-void
-nautilus_window_set_initiated_unmount (NautilusWindow *window,
- gboolean initiated_unmount)
-{
- window->details->initiated_unmount = initiated_unmount;
-}
-
NautilusWindowSlot *
nautilus_window_get_active_slot (NautilusWindow *window)
{
diff --git a/src/nautilus-window.h b/src/nautilus-window.h
index cfb5729..c431643 100644
--- a/src/nautilus-window.h
+++ b/src/nautilus-window.h
@@ -142,8 +142,6 @@ void nautilus_window_report_load_underway (NautilusWindow *wind
NautilusView *view);
void nautilus_window_view_visible (NautilusWindow *window,
NautilusView *view);
-void nautilus_window_set_initiated_unmount (NautilusWindow *window,
- gboolean initiated_unmount);
NautilusWindowSlot * nautilus_window_get_active_slot (NautilusWindow *window);
void nautilus_window_push_status (NautilusWindow *window,
const char *text);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]