search bar example: remove unused function
authorTimm Bäder <mail@baedert.org>
Sat, 16 Jun 2018 08:15:57 +0000 (10:15 +0200)
committerTimm Bäder <mail@baedert.org>
Sat, 16 Jun 2018 08:16:41 +0000 (10:16 +0200)
examples/search-bar.c

index e75056e70fbdc37b7a6b007a4d444b84bd092b05..e7ffde7171661377a167c4415223f3c16f290f65 100644 (file)
@@ -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)