window: use GDK_EVENT_PROPAGATE to propagate keys

This is good for code legibility and to be safe from any radical API update.
This commit is contained in:
Georges Basile Stavracas Neto
2014-12-04 17:10:53 -05:00
committed by Erick Pérez Castellanos
parent c0a16ac06a
commit c87c0e2ad0
+1 -1
View File
@@ -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);