summaryrefslogtreecommitdiffstats
path: root/databases/libgda3/files/patch-libgda__gda-value.c
blob: 5a57ca4c4bc4bbdd287349a57c6aa77af081ad5a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- libgda/gda-value.c.orig Fri Mar 17 11:08:32 2006
+++ libgda/gda-value.c  Fri Mar 24 22:31:12 2006
@@ -1281,8 +1281,8 @@ gda_value_is_null (GdaValue *value)
 gboolean
 gda_value_is_number (GdaValue *value)
 {
-   g_return_val_if_fail (value && G_IS_VALUE(value), FALSE);
    GdaValueType type;
+   g_return_val_if_fail (value && G_IS_VALUE(value), FALSE);
    
    type = GDA_VALUE_TYPE(value);
    switch (type) {