[gnome-control-center/wip/animated-notebook] shell: Fix incorrect "port"



commit aed098b729d9972ac472a9a660ea924538b7dcac
Author: Bastien Nocera <hadess hadess net>
Date:   Thu May 3 19:29:38 2012 +0100

    shell: Fix incorrect "port"

 shell/gnome-control-center.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/shell/gnome-control-center.c b/shell/gnome-control-center.c
index 31ff235..af76a2d 100644
--- a/shell/gnome-control-center.c
+++ b/shell/gnome-control-center.c
@@ -208,7 +208,7 @@ _shell_remove_all_custom_widgets (GnomeControlCenterPrivate *priv)
   for (i = 0; i < priv->custom_widgets->len; i++)
     {
         widget = g_ptr_array_index (priv->custom_widgets, i);
-        cc_notebook_remove_page (CC_NOTEBOOK (box), widget);
+        gtk_container_remove (GTK_CONTAINER (box), widget);
     }
   g_ptr_array_set_size (priv->custom_widgets, 0);
 }



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