[gtk+] gtk/gtkcsseasevalue.c: Remove C99ism



commit 887f13cf9f17930ae74bcfa4444967c4551d3912
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Sat Jun 23 12:48:32 2012 +0800

    gtk/gtkcsseasevalue.c: Remove C99ism

 gtk/gtkcsseasevalue.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkcsseasevalue.c b/gtk/gtkcsseasevalue.c
index be2c44e..2b57fa1 100644
--- a/gtk/gtkcsseasevalue.c
+++ b/gtk/gtkcsseasevalue.c
@@ -282,10 +282,10 @@ gtk_css_ease_value_parse_steps (GtkCssParser *parser)
 GtkCssValue *
 _gtk_css_ease_value_parse (GtkCssParser *parser)
 {
-  g_return_val_if_fail (parser != NULL, NULL);
-
   guint i;
 
+  g_return_val_if_fail (parser != NULL, NULL);
+
   for (i = 0; i < G_N_ELEMENTS (parser_values); i++)
     {
       if (_gtk_css_parser_try (parser, parser_values[i].name, FALSE))



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