summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2018-06-16 10:15:57 +0200
committerTimm Bäder <mail@baedert.org>2018-06-16 10:16:41 +0200
commitf6d70f7225cf7faef48e10a6688e87b9ed08ef78 (patch)
treefb4ffaad2e32c5d6ca13b4373a46b6152e39590e /examples
parent0b12fd9c1b583bebcd2022021b9a8ebcbd7c4ffb (diff)
downloadgtk+-f6d70f7225cf7faef48e10a6688e87b9ed08ef78.tar.gz
search bar example: remove unused function
Diffstat (limited to 'examples')
-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)