[devhelp/wip/swilmet/misc-improvements: 10/14] assistant: use GDK_EVENT_STOP
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devhelp/wip/swilmet/misc-improvements: 10/14] assistant: use GDK_EVENT_STOP
- Date: Fri, 29 May 2015 14:10:28 +0000 (UTC)
commit 3cb41b4bced7c311f343144d019a5847223e9522
Author: Sébastien Wilmet <swilmet gnome org>
Date: Mon May 25 21:07:10 2015 +0200
assistant: use GDK_EVENT_STOP
https://bugzilla.gnome.org/show_bug.cgi?id=749797
src/dh-assistant.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/dh-assistant.c b/src/dh-assistant.c
index b558894..5dc408f 100644
--- a/src/dh-assistant.c
+++ b/src/dh-assistant.c
@@ -54,7 +54,7 @@ dh_assistant_key_press_event (GtkWidget *widget,
{
if (event->keyval == GDK_KEY_Escape) {
gtk_widget_destroy (widget);
- return TRUE;
+ return GDK_EVENT_STOP;
}
return GTK_WIDGET_CLASS (dh_assistant_parent_class)->key_press_event (widget, event);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]