diff src/gtkgaim.h @ 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 4a15962c344a
children 6a043ae92db6
line wrap: on
line diff
--- a/src/gtkgaim.h	Thu Sep 23 13:45:48 2004 +0000
+++ b/src/gtkgaim.h	Sun Sep 26 16:17:09 2004 +0000
@@ -38,11 +38,11 @@
 #endif
 
 /*
- * This is backwards-compatibility code for old versions of GTK+ (2.2.1 and
- * earlier).  It defines the new wrap behavior (unknown in earlier versions)
+ * This is backwards-compatibility code for older versions of GTK+ (< 2.4.x)
+ * It defines the new wrap behavior (unknown in earlier versions)
  * as the old (slightly buggy) wrap behavior.
  */
-#ifndef GTK_WRAP_WORD_CHAR
+#if (!GTK_CHECK_VERSION(2,4,0))
 #define GTK_WRAP_WORD_CHAR GTK_WRAP_WORD
 #endif