From: Timm Bäder Date: Sat, 16 Jun 2018 08:15:57 +0000 (+0200) Subject: search bar example: remove unused function X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1^2~18^2~22^2~164 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f6d70f7225cf7faef48e10a6688e87b9ed08ef78;p=gtk4.git search bar example: remove unused function --- 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 -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)