comparison 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
comparison
equal deleted inserted replaced
10061:83eb12b1f1a1 10062:b6178d85d132
36 #else 36 #else
37 # define GAIM_ALERT_TITLE "Gaim" 37 # define GAIM_ALERT_TITLE "Gaim"
38 #endif 38 #endif
39 39
40 /* 40 /*
41 * This is backwards-compatibility code for old versions of GTK+ (2.2.1 and 41 * This is backwards-compatibility code for older versions of GTK+ (< 2.4.x)
42 * earlier). It defines the new wrap behavior (unknown in earlier versions) 42 * It defines the new wrap behavior (unknown in earlier versions)
43 * as the old (slightly buggy) wrap behavior. 43 * as the old (slightly buggy) wrap behavior.
44 */ 44 */
45 #ifndef GTK_WRAP_WORD_CHAR 45 #if (!GTK_CHECK_VERSION(2,4,0))
46 #define GTK_WRAP_WORD_CHAR GTK_WRAP_WORD 46 #define GTK_WRAP_WORD_CHAR GTK_WRAP_WORD
47 #endif 47 #endif
48 48
49 49
50 #endif /* _GAIM_GTKGAIM_H_ */ 50 #endif /* _GAIM_GTKGAIM_H_ */