[pygobject] Fix warning.



commit 7a400f8139b70ddfe7c949035e0851689951c647
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Thu Jul 8 12:42:25 2010 +0200

    Fix warning.

 gi/pygi-argument.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gi/pygi-argument.c b/gi/pygi-argument.c
index c6df559..67d6656 100644
--- a/gi/pygi-argument.c
+++ b/gi/pygi-argument.c
@@ -1708,8 +1708,8 @@ _pygi_argument_release (GArgument   *arg,
         case GI_TYPE_TAG_FILENAME:
         case GI_TYPE_TAG_UTF8:
             /* With allow-none support the string could be NULL */
-            if (arg->v_string != NULL &&
-                    (direction == GI_DIRECTION_IN && transfer == GI_TRANSFER_NOTHING)
+            if ((arg->v_string != NULL &&
+                    (direction == GI_DIRECTION_IN && transfer == GI_TRANSFER_NOTHING))
                     || (direction == GI_DIRECTION_OUT && transfer == GI_TRANSFER_EVERYTHING)) {
                 g_free (arg->v_string);
             }



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