[gimp/blend-tool-fun: 43/163] Bug 754927 - Non-void function should return a value



commit f74df09a0b262cd634fa00150029ac5b353276f0
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]