< prev index next >

modules/graphics/src/main/native-glass/gtk/glass_key.cpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 21,37 **** * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. */ #include "glass_key.h" - #include "glass_gtkcompat.h" #include <com_sun_glass_events_KeyEvent.h> #include <com_sun_glass_ui_gtk_GtkApplication.h> #include <glib.h> ! #include <gdk/gdk.h> ! #include <gtk/gtk.h> static gboolean key_initialized = FALSE; static GHashTable *keymap; static void glass_g_hash_table_insert_int(GHashTable *table, gint key, gint value) --- 21,36 ---- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. */ #include "glass_key.h" #include <com_sun_glass_events_KeyEvent.h> #include <com_sun_glass_ui_gtk_GtkApplication.h> #include <glib.h> ! #include "glass_general.h" ! #include <gdk/gdkkeysyms.h> static gboolean key_initialized = FALSE; static GHashTable *keymap; static void glass_g_hash_table_insert_int(GHashTable *table, gint key, gint value)
< prev index next >