[gimp] app: fix return value from NULL to FALSE
- From: Mikael Magnusson <mikachu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: fix return value from NULL to FALSE
- Date: Mon, 28 Mar 2011 22:23:50 +0000 (UTC)
commit afb68c1cea4d7f5873e98626cbf09f040a459d7b
Author: Mikael Magnusson <mikachu src gnome org>
Date: Tue Mar 29 00:23:10 2011 +0200
app: fix return value from NULL to FALSE
app/display/gimpcanvasitem.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/display/gimpcanvasitem.c b/app/display/gimpcanvasitem.c
index 5dc8b38..1482676 100644
--- a/app/display/gimpcanvasitem.c
+++ b/app/display/gimpcanvasitem.c
@@ -376,7 +376,7 @@ gimp_canvas_item_hit (GimpCanvasItem *item,
{
GimpCanvasItemPrivate *private;
- g_return_val_if_fail (GIMP_IS_CANVAS_ITEM (item), NULL);
+ g_return_val_if_fail (GIMP_IS_CANVAS_ITEM (item), FALSE);
private = GET_PRIVATE (item);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]