[gimp] Remove two stray semicolons making if bodies always run



commit 61476aa20a1a1f7e75f73ff6d7f4e25b0b3a25f9
Author: Mikael Magnusson <mikachu src gnome org>
Date:   Fri Apr 8 03:09:15 2011 +0200

    Remove two stray semicolons making if bodies always run

 app/actions/window-commands.c    |    2 +-
 plug-ins/pygimp/pygimp-vectors.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/app/actions/window-commands.c b/app/actions/window-commands.c
index 95df5b0..6155313 100644
--- a/app/actions/window-commands.c
+++ b/app/actions/window-commands.c
@@ -44,7 +44,7 @@ window_close_cmd_callback (GtkAction *action,
   if (! gtk_widget_is_toplevel (widget))
     widget = gtk_widget_get_toplevel (widget);
 
-  if (widget && gtk_widget_get_window (widget));
+  if (widget && gtk_widget_get_window (widget))
     {
       GdkEvent *event = gdk_event_new (GDK_DELETE);
 
diff --git a/plug-ins/pygimp/pygimp-vectors.c b/plug-ins/pygimp/pygimp-vectors.c
index 504efd1..d85556a 100644
--- a/plug-ins/pygimp/pygimp-vectors.c
+++ b/plug-ins/pygimp/pygimp-vectors.c
@@ -493,7 +493,7 @@ vbs_init(PyGimpVectorsStroke *self, PyObject *args, PyObject *kwargs)
                                      "O!O|i:gimp.VectorsBezierStroke.__init__",
                                      kwlist,
                                      &PyGimpVectors_Type, &vectors,
-                                     &py_controlpoints, &closed));
+                                     &py_controlpoints, &closed))
         return -1;
 
     if (!PySequence_Check(py_controlpoints)) {



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