changeset 8539:e0f659e4323e

[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 <tailor@pidgin.im>
author Ethan Blanton <elb@pidgin.im>
date Thu, 01 Apr 2004 00:25:54 +0000
parents 848dfa9fe9d4
children c803c4b0c97b
files src/gtkimhtml.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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':