Fix build on older gtk
authorColin Leroy <colin@colino.net>
Fri, 3 Oct 2008 12:59:23 +0000 (12:59 +0000)
committerColin Leroy <colin@colino.net>
Fri, 3 Oct 2008 12:59:23 +0000 (12:59 +0000)
RELEASE_NOTES
src/gtk/gtkcmclist.c
src/gtk/gtkcmctree.c

index f49695fc187b13fb28392e31dd68c56df337328b..e845e97234a04a18ddf10e2223d4185c6c4c7a8c 100644 (file)
@@ -1,4 +1,4 @@
-27th June 2008                                       Claws Mail 3.5.0
+27th June 2008                                       Claws Mail 3.6.0
 
                    CLAWS MAIL  RELEASE NOTES
                     http://www.claws-mail.org
index 498ae8490e735bfed968bb6ce36d9de8cc596213..379c97a3fa595ab071b242fae0754d17f599139d 100644 (file)
 #include "gtkcmclist.h"
 #include <gdk/gdkkeysyms.h>
 
+#if !GTK_CHECK_VERSION(2,10,0)
+#define gdk_atom_intern_static_string(str) gdk_atom_intern(str, FALSE)
+#endif
+
 /* length of button_actions array */
 #define MAX_BUTTON 5
 
index 8f0b71c802afc2a7922993cbb66a466750038a74..41edc4155db43312d4656fb2b16e2ffd968f5a69 100644 (file)
 #include "gtkcmctree.h"
 #include "claws-marshal.h"
 
+#if !GTK_CHECK_VERSION(2,10,0)
+#define gdk_atom_intern_static_string(str) gdk_atom_intern(str, FALSE)
+#endif
+
 #define PM_SIZE                    8
 #define TAB_SIZE                   (PM_SIZE + 6)
 #define CELL_SPACING               1