summaryrefslogtreecommitdiff
path: root/examples/search-bar.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/search-bar.c')
-rw-r--r--examples/search-bar.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/examples/search-bar.c b/examples/search-bar.c
index e75056e70f..e7ffde7171 100644
--- a/examples/search-bar.c
+++ b/examples/search-bar.c
@@ -1,16 +1,5 @@
#include <gtk/gtk.h>
-static gboolean
-window_key_pressed (GtkEventController *controller,
- guint keyval,
- guint keycode,
- GdkModifierType state,
- GtkSearchBar *search_bar)
-{
- return gtk_search_bar_handle_event (search_bar,
- gtk_get_current_event ());
-}
-
static void
activate_cb (GtkApplication *app,
gpointer user_data)