[gimp/gimp-2-8] Bug 754927 - Non-void function should return a value



commit 9d5fed6ea66dba308400ce2f275b51d6d145d404
Author: Michael Natterer <mitch gimp org>
Date:   Sat Sep 12 20:26:56 2015 +0200

    Bug 754927 - Non-void function should return a value
    
    Fix return value glitch in last DND-related commit.
    
    (cherry picked from commit 1833d292cc5a30527c730d9328b4d6e41cf7fde5)

 app/widgets/gimpdnd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/widgets/gimpdnd.c b/app/widgets/gimpdnd.c
index 609f52e..f2bc644 100644
--- a/app/widgets/gimpdnd.c
+++ b/app/widgets/gimpdnd.c
@@ -926,7 +926,7 @@ gimp_dnd_data_source_remove (GimpDndType  data_type,
                                         "gimp-dnd-drag-connected"));
 
   if (! drag_connected)
-    return;
+    return FALSE;
 
   dnd_data = dnd_data_defs + data_type;
 


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