[gnome-builder] gstyle-palette: fix wrong assert reference



commit 88ded284a6470a68eea289a46cddd9dd07e3e829
Author: Sebastien Lafargue <slafargue gnome org>
Date:   Fri Jul 15 15:20:12 2016 +0200

    gstyle-palette: fix wrong assert reference

 contrib/gstyle/gstyle-palette.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/contrib/gstyle/gstyle-palette.c b/contrib/gstyle/gstyle-palette.c
index b25e973..347f1e4 100644
--- a/contrib/gstyle/gstyle-palette.c
+++ b/contrib/gstyle/gstyle-palette.c
@@ -351,7 +351,7 @@ gstyle_palette_remove (GstylePalette  *self,
   GPtrArray *array;
 
   g_return_val_if_fail (GSTYLE_IS_PALETTE (self), FALSE);
-  g_return_val_if_fail (GSTYLE_IS_COLOR (self), FALSE);
+  g_return_val_if_fail (GSTYLE_IS_COLOR (color), FALSE);
 
   array = self->colors;
   for (gint i = 0; i < array->len; ++i)


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