talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 2eb02b69cd45c242febbbb7b490249195c2dfc53
parent 781c0b784d7aef3246d4f9e6410552cf0ead6246
Author: Colin Leroy <colin@colino.net>
Date:   Fri,  3 Oct 2008 12:59:23 +0000

Fix build on older gtk

Diffstat:
MRELEASE_NOTES | 2+-
Msrc/gtk/gtkcmclist.c | 4++++
Msrc/gtk/gtkcmctree.c | 4++++
3 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/RELEASE_NOTES b/RELEASE_NOTES @@ -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 diff --git a/src/gtk/gtkcmclist.c b/src/gtk/gtkcmclist.c @@ -35,6 +35,10 @@ #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 diff --git a/src/gtk/gtkcmctree.c b/src/gtk/gtkcmctree.c @@ -35,6 +35,10 @@ #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