From 5d228b707a4ef559b9e739baf574955bb812a043 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Tue, 12 Jun 2012 18:27:02 +0100 Subject: [PATCH] shell: Fix wrong function being used to get width get width better than get height... --- shell/cc-notebook.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/cc-notebook.c b/shell/cc-notebook.c index 05d1941aa..77e23de71 100644 --- a/shell/cc-notebook.c +++ b/shell/cc-notebook.c @@ -199,7 +199,7 @@ cc_notebook_get_preferred_width (GtkWidget *widget, notebook = CC_NOTEBOOK (widget); if (notebook->priv->selected_page == NULL) { - gtk_widget_get_preferred_height (notebook->priv->embed, minimum_width, natural_width); + gtk_widget_get_preferred_width (notebook->priv->embed, minimum_width, natural_width); return; }