projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b12fd9
)
search bar example: remove unused function
author
Timm Bäder
<mail@baedert.org>
Sat, 16 Jun 2018 08:15:57 +0000
(10:15 +0200)
committer
Timm Bäder
<mail@baedert.org>
Sat, 16 Jun 2018 08:16:41 +0000
(10:16 +0200)
examples/search-bar.c
patch
|
blob
|
history
diff --git
a/examples/search-bar.c
b/examples/search-bar.c
index e75056e70fbdc37b7a6b007a4d444b84bd092b05..e7ffde7171661377a167c4415223f3c16f290f65 100644
(file)
--- 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)