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 f49695f..e845e97 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 498ae84..379c97a 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 8f0b71c..41edc41 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