[gimp] Fix stray semicolon causing early return



commit 41f9cd7ba0e93c9f29d7cebb39d93187c4a3f8ab
Author: Daniel Sabo <DanielSabo gmail com>
Date:   Fri May 2 19:33:07 2014 -0700

    Fix stray semicolon causing early return
    
    _wrap_gimp_color_scale_new will always fail because "return -1"
    falls outside of the if statement.

 plug-ins/pygimp/gimpui.override |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/pygimp/gimpui.override b/plug-ins/pygimp/gimpui.override
index 37cd291..9e5a473 100644
--- a/plug-ins/pygimp/gimpui.override
+++ b/plug-ins/pygimp/gimpui.override
@@ -1009,7 +1009,7 @@ _wrap_gimp_color_scale_new(PyGObject *self, PyObject *args, PyObject *kwargs)
     if (pygobject_construct(self,
                             "orientation", orientation,
                             "channel",     channel,
-                            NULL));
+                            NULL))
         return -1;
 
     gtk_range_set_flippable (GTK_RANGE (self->obj),


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