[gnome-control-center] shell: Fix wrong function being used to get width



commit 5d228b707a4ef559b9e739baf574955bb812a043
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Tue Jun 12 18:27:02 2012 +0100

    shell: Fix wrong function being used to get width
    
    get width better than get height...

 shell/cc-notebook.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/shell/cc-notebook.c b/shell/cc-notebook.c
index 05d1941..77e23de 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;
 	}
 



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