[gnome-calendar] window: use GDK_EVENT_PROPAGATE to propagate keys
- From: Erick Pérez Castellanos <erickpc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] window: use GDK_EVENT_PROPAGATE to propagate keys
- Date: Thu, 4 Dec 2014 22:44:36 +0000 (UTC)
commit c87c0e2ad0bf7ab37ada90af6e5e08aed828e330
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Mon Nov 24 23:12:45 2014 -0200
window: use GDK_EVENT_PROPAGATE to propagate keys
This is good for code legibility and to be safe from any radical API update.
src/gcal-window.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gcal-window.c b/src/gcal-window.c
index 989f2eb..40031ed 100644
--- a/src/gcal-window.c
+++ b/src/gcal-window.c
@@ -216,7 +216,7 @@ key_pressed (GtkWidget *widget,
/* special case: write in new-event-widget entry */
if (priv->new_event_mode)
- return FALSE;
+ return GDK_EVENT_PROPAGATE;
return gtk_search_bar_handle_event (GTK_SEARCH_BAR (priv->search_bar),
event);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]