diff src/gtkimhtml.c @ 10062:b6178d85d132

[gaim-migrate @ 11037] marv has mentioned several times in #gaim that we were never using GTK_WORD_WRAP_CHAR because we were checking if an enum is #ifdef This fixes that. committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Sun, 26 Sep 2004 16:17:09 +0000
parents 5b4a0af99bf7
children fbab7f05b054
line wrap: on
line diff
--- a/src/gtkimhtml.c	Thu Sep 23 13:45:48 2004 +0000
+++ b/src/gtkimhtml.c	Sun Sep 26 16:17:09 2004 +0000
@@ -59,8 +59,8 @@
 
 #include <pango/pango-font.h>
 
-/* GTK+ < 2.2.2 hack, see gtkdialogs.h for details. */
-#ifndef GTK_WRAP_WORD_CHAR
+/* GTK+ < 2.4.x hack, see gtkgaim.h for details. */
+#if (!GTK_CHECK_VERSION(2,4,0))
 #define GTK_WRAP_WORD_CHAR GTK_WRAP_WORD
 #endif