[libgda] Return FALSE instead of NULL
- From: Vivien Malerba <vivien src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda] Return FALSE instead of NULL
- Date: Wed, 10 Feb 2016 14:10:15 +0000 (UTC)
commit 6b4080fe9c470c0914a6b25418f8aeaad54f773c
Author: Arthur Neves <arthurnn gmail com>
Date: Wed Feb 10 08:10:21 2016 -0500
Return FALSE instead of NULL
The function expects a gboolean
tools/browser/ui-customize.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tools/browser/ui-customize.c b/tools/browser/ui-customize.c
index 514ee83..70d4ee3 100644
--- a/tools/browser/ui-customize.c
+++ b/tools/browser/ui-customize.c
@@ -131,7 +131,7 @@ customization_data_init (GObject *object, GtkToolbar *toolbar, GtkHeaderBar *hea
gboolean
customization_data_exists (GObject *object)
{
- g_return_val_if_fail (G_IS_OBJECT (object), NULL);
+ g_return_val_if_fail (G_IS_OBJECT (object), FALSE);
return customization_data_get (object) ? TRUE : FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]