[libgda/LIBGDA_5.2] Fix build on MacOS



commit d2122f1eb84b9d89596865f663c3e5e355011385
Author: Daniel Espinosa <esodan gmail com>
Date:   Sun Sep 30 09:30:34 2018 -0500

    Fix build on MacOS
    
    Thanks to Tom Schoonjans @@tschoonj.
    
    Close issue #142

 libgda/sqlite/virtual/gda-vprovider-data-model.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libgda/sqlite/virtual/gda-vprovider-data-model.c 
b/libgda/sqlite/virtual/gda-vprovider-data-model.c
index d6674de5c..31c7993a2 100644
--- a/libgda/sqlite/virtual/gda-vprovider-data-model.c
+++ b/libgda/sqlite/virtual/gda-vprovider-data-model.c
@@ -280,7 +280,7 @@ virtual_filtered_data_free (VirtualFilteredData *data)
 static VirtualFilteredData *
 virtual_filtered_data_ref (VirtualFilteredData *data)
 {
-       g_return_if_fail (data != NULL);
+       g_return_val_if_fail (data != NULL, NULL);
        data->refcount ++;
        return data;
 }


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