From d6fa7225ef7e76177cc9f1019099e324b13dd3c0 Mon Sep 17 00:00:00 2001 From: Elijah Newren Date: Mon, 18 Sep 2006 20:24:42 +0000 Subject: avoid a compilation warning by making sure to return something. #348067 2006-09-18 Elijah Newren * src/ui.c (filter_func): avoid a compilation warning by making sure to return something. #348067 --- ChangeLog | 5 +++++ src/ui.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 535769f3..1c715649 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-09-18 Elijah Newren + + * src/ui.c (filter_func): avoid a compilation warning by making + sure to return something. #348067 + 2006-09-18 Thomas Thurman * configure.in: post-release bump to 2.16.3 diff --git a/src/ui.c b/src/ui.c index 9134946d..045767dc 100644 --- a/src/ui.c +++ b/src/ui.c @@ -80,7 +80,7 @@ filter_func (GdkXEvent *xevent, GdkEvent *event, gpointer data) { - g_return_if_fail (ef != NULL); + g_return_val_if_fail (ef != NULL, GDK_FILTER_CONTINUE); if ((* ef->func) (xevent, ef->data)) return GDK_FILTER_REMOVE; -- cgit v1.2.1