[glib] Avoid a compiler warning



commit 616af3b80e62e283a1d8edba6b5da03f07a6ef0e
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Nov 24 00:56:26 2013 -0500

    Avoid a compiler warning

 glib/garray.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glib/garray.c b/glib/garray.c
index b510bb2..062d568 100644
--- a/glib/garray.c
+++ b/glib/garray.c
@@ -1284,7 +1284,7 @@ g_ptr_array_remove_range (GPtrArray *farray,
         array->pdata[array->len + i] = NULL;
     }
 
-  return array;
+  return farray;
 }
 
 /**


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