# HG changeset patch # User Ethan Blanton # Date 1080779154 0 # Node ID e0f659e4323ed693e459f5631e38e42a582c922d # Parent 848dfa9fe9d405bd546c302ee11be102f0d54a98 [gaim-migrate @ 9280] This fixes ^A (and some other stuff, but nobody cares about that) for Gtk-+2.4 users. Thanks to Etan Reisner for this beautiful gem. committer: Tailor Script diff -r 848dfa9fe9d4 -r e0f659e4323e src/gtkimhtml.c --- a/src/gtkimhtml.c Wed Mar 31 22:56:09 2004 +0000 +++ b/src/gtkimhtml.c Thu Apr 01 00:25:54 2004 +0000 @@ -390,6 +390,7 @@ if (event->state & GDK_CONTROL_MASK) switch (event->keyval) { +#if (!GTK_CHECK_VERSION(2,2,0)) case 'a': return TRUE; break; @@ -401,6 +402,7 @@ case GDK_End: return TRUE; break; +#endif /* Gtk+ >= 2.2.0 */ case 'b': /* ctrl-b is GDK_Left, which moves backwards. */ case 'B':