Skip to content
Snippets Groups Projects
Commit cdf78f78 authored by Rafaël Carré's avatar Rafaël Carré
Browse files

Get gdk key definition from header

parent 811bd124
No related branches found
No related tags found
No related merge requests found
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
*/ */
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
#include <glib/gprintf.h> #include <glib/gprintf.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
......
...@@ -46,6 +46,7 @@ ...@@ -46,6 +46,7 @@
#include <sys/stat.h> #include <sys/stat.h>
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
#include <eel-gconf-extensions.h> #include <eel-gconf-extensions.h>
/** Local variables */ /** Local variables */
...@@ -129,7 +130,7 @@ main_window_ask_quit () ...@@ -129,7 +130,7 @@ main_window_ask_quit ()
} }
static gboolean static gboolean
on_key_released (GtkWidget *widget, GdkEventKey *event, gpointer user_data UNUSED) on_key_released (GtkWidget *widget UNUSED, GdkEventKey *event, gpointer user_data UNUSED)
{ {
if (focus_is_on_searchbar) if (focus_is_on_searchbar)
return TRUE; return TRUE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment