diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/ui.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2006-09-18 Elijah Newren <newren gmail com> + + * src/ui.c (filter_func): avoid a compilation warning by making + sure to return something. #348067 + 2006-09-18 Thomas Thurman <thomas@thurman.org.uk> * configure.in: post-release bump to 2.16.3 @@ -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; |