[gdl] Allow to add GdlDock object inside GdlDockItem



commit ea372163c24813d25fa6b6063ed121714be8409e
Author: Sébastien Granjoux <seb sfo free fr>
Date:   Sat Jun 8 10:22:56 2013 +0200

    Allow to add GdlDock object inside GdlDockItem

 gdl/gdl-dock-item.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdl/gdl-dock-item.c b/gdl/gdl-dock-item.c
index 82ec8d2..1f868c1 100644
--- a/gdl/gdl-dock-item.c
+++ b/gdl/gdl-dock-item.c
@@ -868,7 +868,7 @@ gdl_dock_item_add (GtkContainer *container,
     g_return_if_fail (GDL_IS_DOCK_ITEM (container));
 
     item = GDL_DOCK_ITEM (container);
-    if (GDL_IS_DOCK_OBJECT (widget)) {
+    if (GDL_IS_DOCK_ITEM (widget)) {
         g_warning (_("You can't add a dock object (%p of type %s) inside a %s. "
                      "Use a GdlDock or some other compound dock object."),
                    widget, G_OBJECT_TYPE_NAME (widget), G_OBJECT_TYPE_NAME (item));


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