[nautilus] window: remove unused menubar member in NautilusWindowDetails
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] window: remove unused menubar member in NautilusWindowDetails
- Date: Fri, 13 Jul 2012 18:38:08 +0000 (UTC)
commit ef85aa78aaceac60a79d177c9ecfb6280ec3b3a7
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Fri Jul 13 14:37:05 2012 -0400
window: remove unused menubar member in NautilusWindowDetails
We were hitting a warning because of this with the desktop enabled.
src/nautilus-desktop-window.c | 2 --
src/nautilus-window-private.h | 2 --
2 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/nautilus-desktop-window.c b/src/nautilus-desktop-window.c
index 7ff0fc8..10ea225 100644
--- a/src/nautilus-desktop-window.c
+++ b/src/nautilus-desktop-window.c
@@ -72,8 +72,6 @@ nautilus_desktop_window_constructed (GObject *obj)
NautilusWindow *nwindow = NAUTILUS_WINDOW (obj);
G_OBJECT_CLASS (nautilus_desktop_window_parent_class)->constructed (obj);
-
- gtk_widget_hide (nwindow->details->menubar);
action_group = nautilus_window_get_main_action_group (nwindow);
diff --git a/src/nautilus-window-private.h b/src/nautilus-window-private.h
index 42d48f0..6c42bd4 100644
--- a/src/nautilus-window-private.h
+++ b/src/nautilus-window-private.h
@@ -38,8 +38,6 @@
/* FIXME bugzilla.gnome.org 42575: Migrate more fields into here. */
struct NautilusWindowDetails
{
- GtkWidget *menubar;
-
GtkUIManager *ui_manager;
GtkActionGroup *main_action_group; /* owned by ui_manager */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]