[gnumeric] wbcg: eleminate "everything".



commit 2fdccc5d3de1f2c10a25e9526631f8ad31737568
Author: Morten Welinder <terra gnome org>
Date:   Sun Jan 15 13:22:47 2012 -0500

    wbcg: eleminate "everything".

 src/wbc-gtk-impl.h |    2 +-
 src/wbc-gtk.c      |    3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/wbc-gtk-impl.h b/src/wbc-gtk-impl.h
index 315e305..a6f1d3e 100644
--- a/src/wbc-gtk-impl.h
+++ b/src/wbc-gtk-impl.h
@@ -128,7 +128,7 @@ struct _WBCGtk {
 		GtkToggleAction	 *top, *center, *bottom;
 	} v_align;
 
-	GtkWidget *menu_zone, *everything, *toolbar_zones[4];
+	GtkWidget *menu_zone, *toolbar_zones[4];
 	GHashTable *custom_uis;
 
 	guint idle_update_style_feedback;
diff --git a/src/wbc-gtk.c b/src/wbc-gtk.c
index 0966563..e3c5256 100644
--- a/src/wbc-gtk.c
+++ b/src/wbc-gtk.c
@@ -2369,7 +2369,7 @@ cb_desktop_font_changed (GtkSettings *settings, GParamSpec *pspec,
 static GdkScreen *
 wbcg_get_screen (WBCGtk *wbcg)
 {
-	return gtk_widget_get_screen (wbcg->everything);
+	return gtk_widget_get_screen (wbcg->notebook_area);
 }
 
 static GtkSettings *
@@ -5628,7 +5628,6 @@ wbc_gtk_init (GObject *obj)
 	wbcg->snotebook = GET_GUI_ITEM ("snotebook");
 	wbcg->selection_descriptor = GET_GUI_ITEM ("selection_descriptor");
 	wbcg->menu_zone = GET_GUI_ITEM ("menu_zone");
-	wbcg->everything = GET_GUI_ITEM ("everything");
 	wbcg->toolbar_zones[GTK_POS_TOP] = GET_GUI_ITEM ("toolbar_zone_top");
 	wbcg->toolbar_zones[GTK_POS_BOTTOM] = NULL;
 	wbcg->toolbar_zones[GTK_POS_LEFT] = GET_GUI_ITEM ("toolbar_zone_left");



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