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



commit 28e8f23ba0ff286c7a190426423bd3f37ae60b3e
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]