[gdl] Add missing return value



commit 738525e88213c8f43c3e01a1076006d6b642936c
Author: Frederic Crozat <fcrozat novell com>
Date:   Tue Mar 22 19:11:23 2011 +0100

    Add missing return value
    
    https://bugzilla.gnome.org/show_bug.cgi?id=645559

 gdl/gdl-dock-object.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gdl/gdl-dock-object.c b/gdl/gdl-dock-object.c
index e01f2f1..6fb8aca 100644
--- a/gdl/gdl-dock-object.c
+++ b/gdl/gdl-dock-object.c
@@ -674,7 +674,7 @@ gdl_dock_object_reorder (GdlDockObject    *object,
     g_return_val_if_fail (object != NULL && child != NULL, FALSE);
 
     if (GDL_DOCK_OBJECT_GET_CLASS (object)->reorder)
-            GDL_DOCK_OBJECT_GET_CLASS (object)->reorder (object, child, new_position, other_data);
+            return GDL_DOCK_OBJECT_GET_CLASS (object)->reorder (object, child, new_position, other_data);
     else
         return FALSE;
 }
@@ -727,7 +727,7 @@ gdl_dock_object_child_placement (GdlDockObject    *object,
         return FALSE;
     
     if (GDL_DOCK_OBJECT_GET_CLASS (object)->child_placement)
-        GDL_DOCK_OBJECT_GET_CLASS (object)->child_placement (object, child, placement);
+        return GDL_DOCK_OBJECT_GET_CLASS (object)->child_placement (object, child, placement);
     else
         return FALSE;
 }



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