[gtk+/popovers] window: Return a value from a non-void function
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/popovers] window: Return a value from a non-void function
- Date: Tue, 28 Jan 2014 18:49:51 +0000 (UTC)
commit d8fa2b3d03e408e23bddc4467cefaa2cb9db744b
Author: Benjamin Otte <otte redhat com>
Date: Tue Jan 28 19:49:10 2014 +0100
window: Return a value from a non-void function
gtk/gtkwindow.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index b38b40d..58080e1 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -7759,7 +7759,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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]