[gdl] Fixed bug introduced by previous GSEAL patch



commit 5da4f8fa335492a9ae308e72f84dd7134d466fd6
Author: Johannes Schmid <jhs gnome org>
Date:   Tue Jun 22 17:54:17 2010 +0200

    Fixed bug introduced by previous GSEAL patch

 gdl/gdl-dock-object.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdl/gdl-dock-object.c b/gdl/gdl-dock-object.c
index ac6196c..d03d8fe 100644
--- a/gdl/gdl-dock-object.c
+++ b/gdl/gdl-dock-object.c
@@ -361,7 +361,7 @@ gdl_dock_object_real_detach (GdlDockObject *object,
     parent = gdl_dock_object_get_parent_object (object);
     widget = GTK_WIDGET (object);
     if (gtk_widget_get_parent (widget))
-        gtk_container_remove (GTK_CONTAINER (gtk_widget_get_parent (GTK_WIDGET (parent))), widget);
+        gtk_container_remove (GTK_CONTAINER (gtk_widget_get_parent (GTK_WIDGET (widget))), widget);
     if (parent)
         gdl_dock_object_reduce (parent);
 }



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