[gtk+/gtk-style-context: 217/347] GtkStyleSet: Fix typo



commit 5337bc5ae55181f4fcfb4d369d0ee152ff426ff7
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sat Sep 11 12:10:25 2010 +0200

    GtkStyleSet: Fix typo

 gtk/gtkstyleset.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkstyleset.c b/gtk/gtkstyleset.c
index fb8486c..cd1c8df 100644
--- a/gtk/gtkstyleset.c
+++ b/gtk/gtkstyleset.c
@@ -748,7 +748,7 @@ gtk_style_set_get_valist (GtkStyleSet   *set,
         }
       else if (G_VALUE_TYPE (val) == GTK_TYPE_GRADIENT)
         {
-          g_return_val_if_fail (node->property_type == GDK_TYPE_CAIRO_PATTERN, FALSE);
+          g_return_if_fail (node->property_type == GDK_TYPE_CAIRO_PATTERN);
 
           if (!resolve_gradient (set, val))
             val = &node->default_value;



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