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



commit 1833d292cc5a30527c730d9328b4d6e41cf7fde5
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.

 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 bb88ef7..5a6c643 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]