avoid a compilation warning by making sure to return something. #348067

2006-09-18  Elijah Newren  <newren gmail com>

	* src/ui.c (filter_func): avoid a compilation warning by making
	sure to return something.  #348067
This commit is contained in:
Elijah Newren 2006-09-18 20:27:26 +00:00 committed by Elijah Newren
parent 7dd25001ce
commit 470dc30174
2 changed files with 6 additions and 1 deletions

View File

@ -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> 2006-09-18 Thomas Thurman <thomas@thurman.org.uk>
Branched for Gnome 2.17. Branched for Gnome 2.17.

View File

@ -80,7 +80,7 @@ filter_func (GdkXEvent *xevent,
GdkEvent *event, GdkEvent *event,
gpointer data) gpointer data)
{ {
g_return_if_fail (ef != NULL); g_return_val_if_fail (ef != NULL, GDK_FILTER_CONTINUE);
if ((* ef->func) (xevent, ef->data)) if ((* ef->func) (xevent, ef->data))
return GDK_FILTER_REMOVE; return GDK_FILTER_REMOVE;