[gnome-db] [PATCH] Use right macro, as those are void functions



I was getting the following error when making the project:

ui-customize.c:109:2: error: void function 'customization_data_init' should not return a value [-Wreturn-type]
        g_return_val_if_fail (G_IS_OBJECT (object), NULL);


I changed to use the right macro, as those two functions are void.

Thanks

Attachment: return_val.patch
Description: Binary data



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