mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 22:41:43 +00:00
window: add missing return
A branch in the if/else if/else was missing a return, that was unintended.
This commit is contained in:
parent
8595a38145
commit
090a4f0af3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user