[gimp] app: Fix return types
- From: Mukund Sivaraman <muks src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: Fix return types
- Date: Wed, 3 Sep 2014 03:39:49 +0000 (UTC)
commit 1dc873b860746923b826a9f391db204d23b148df
Author: Mukund Sivaraman <muks banu com>
Date: Wed Sep 3 09:09:00 2014 +0530
app: Fix return types
app/core/gimp-utils.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/app/core/gimp-utils.c b/app/core/gimp-utils.c
index 145a609..5636fb2 100644
--- a/app/core/gimp-utils.c
+++ b/app/core/gimp-utils.c
@@ -519,10 +519,10 @@ gimp_get_fill_params (GimpContext *context,
GError **error)
{
- g_return_val_if_fail (GIMP_IS_CONTEXT (context), NULL);
- g_return_val_if_fail (color != NULL, NULL);
- g_return_val_if_fail (pattern != NULL, NULL);
- g_return_val_if_fail (error == NULL || *error == NULL, NULL);
+ g_return_val_if_fail (GIMP_IS_CONTEXT (context), FALSE);
+ g_return_val_if_fail (color != NULL, FALSE);
+ g_return_val_if_fail (pattern != NULL, FALSE);
+ g_return_val_if_fail (error == NULL || *error == NULL, FALSE);
*pattern = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]