[gdl] Bug 583984 - Build warning about no return value
- From: Johannes Schmid <jhs src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gdl] Bug 583984 - Build warning about no return value
- Date: Sat, 14 Nov 2009 18:58:58 +0000 (UTC)
commit 208eceb6bff98ed74c1ca203de86f74ec3b188ba
Author: Johannes Schmid <jhs gnome org>
Date: Sat Nov 14 19:58:20 2009 +0100
Bug 583984 - Build warning about no return value
gdl/gdl-dock-item-button-image.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdl/gdl-dock-item-button-image.c b/gdl/gdl-dock-item-button-image.c
index 7997b9c..f115c65 100644
--- a/gdl/gdl-dock-item-button-image.c
+++ b/gdl/gdl-dock-item-button-image.c
@@ -39,7 +39,7 @@ gdl_dock_item_button_image_expose (GtkWidget *widget,
GtkStyle *style;
GdkColor *color;
- g_return_if_fail (widget != NULL);
+ g_return_val_if_fail (widget != NULL, 0);
button_image = GDL_DOCK_ITEM_BUTTON_IMAGE (widget);
cairo_t *cr = gdk_cairo_create (event->window);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]