[gimp] Fix stray semicolon causing early return
- From: Daniel Sabo <daniels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Fix stray semicolon causing early return
- Date: Sat, 3 May 2014 07:34:21 +0000 (UTC)
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]