window: add missing return

A branch in the if/else if/else was missing a return, that was
unintended.
This commit is contained in:
Carlos Garnacho 2014-01-22 20:49:13 +01:00
parent 8595a38145
commit 090a4f0af3

View File

@ -7766,7 +7766,7 @@ _gtk_window_check_handle_wm_event (GdkEvent *event)
event->type == GDK_2BUTTON_PRESS)
return gtk_window_button_press_event (widget, &event->button);
else if (event->type == GDK_BUTTON_RELEASE)
gtk_window_button_release_event (widget, &event->button);
return gtk_window_button_release_event (widget, &event->button);
else if (event->type == GDK_MOTION_NOTIFY)
return gtk_window_motion_notify_event (widget, &event->motion);
else