X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=modules%2Finput%2Fimti-et.c;h=23caadb2a7be73c477a0139a67b0e91187fde17f;hb=9d0febc9a64a5bfb0fcfc3a88de4757f6c1ff090;hp=e34701214b94538be82331318b6729b9d27c46af;hpb=fce9c8b7d45145c4556650843218e0b76c065c18;p=~andy%2Fgtk diff --git a/modules/input/imti-et.c b/modules/input/imti-et.c index e34701214..23caadb2a 100644 --- a/modules/input/imti-et.c +++ b/modules/input/imti-et.c @@ -1,4 +1,4 @@ -/* GTK - The GTK+ Toolkit +/* GTK - The GIMP Toolkit * Copyright (C) 2000 Red Hat Software * Copyright (C) 2000 SuSE Linux Ltd * @@ -13,9 +13,7 @@ * Library General Public License for more details. * * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. + * License along with this library. If not, see . * * Original author: Owen Taylor * @@ -43,7 +41,7 @@ static void ti_et_init (GtkIMContextSimple *im_context); static void ti_et_register_type (GTypeModule *module) { - static const GTypeInfo object_info = + const GTypeInfo object_info = { sizeof (GtkIMContextSimpleClass), (GBaseInitFunc) NULL, @@ -140,8 +138,8 @@ ti_et_register_type (GTypeModule *module) static guint16 ti_et_compose_seqs[] = { /* do punctuation and numerals here */ - '\'', 0, 0, 0, 0, 0, GDK_dead_grave, /* hopefully this has no side effects */ - '\'', '\'', 0, 0, 0, 0, GDK_apostrophe, + '\'', 0, 0, 0, 0, 0, GDK_KEY_dead_grave, /* hopefully this has no side effects */ + '\'', '\'', 0, 0, 0, 0, GDK_KEY_apostrophe, '\'', '1', 0, 0, 0, 0, 0x1369, '\'', '1', '0', 0, 0, 0, 0x1372, '\'', '1', '0', '0', 0, 0, 0x137b, @@ -430,8 +428,8 @@ static guint16 ti_et_compose_seqs[] = { SYLW('x', 0x1238) SYL('y', 0x12e8) SYLW('z', 0x12d8) - GDK_Shift_L, GDK_space, 0, 0, 0, 0, 0x1361, - GDK_Shift_R, GDK_space, 0, 0, 0, 0, 0x1361, + GDK_KEY_Shift_L, GDK_KEY_space, 0, 0, 0, 0, 0x1361, + GDK_KEY_Shift_R, GDK_KEY_space, 0, 0, 0, 0, 0x1361, }; static void