2008-06-28 [colin] 3.5.0cvs1
authorColin Leroy <colin@colino.net>
Sat, 28 Jun 2008 05:24:02 +0000 (05:24 +0000)
committerColin Leroy <colin@colino.net>
Sat, 28 Jun 2008 05:24:02 +0000 (05:24 +0000)
* src/foldersel.c
Fix compilation with older GTKs

ChangeLog
PATCHSETS
configure.ac
src/foldersel.c

index a2c48f0..2463b5f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-06-28 [colin]     3.5.0cvs1
+
+       * src/foldersel.c
+               Fix compilation with older GTKs
+
 2008-06-27 [paul]      3.5.0
 
        * NEWS
index 2f3972c..1943201 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.58.2.39 -r 1.58.2.40 po/de.po;  cvs diff -u -r 1.1.2.18 -r 1.1.2.19 po/fi.po;  cvs diff -u -r 1.50.2.31 -r 1.50.2.32 po/pt_BR.po;  ) > 3.4.0cvs114.patchset
 ( cvs diff -u -r 1.654.2.3471 -r 1.654.2.3472 configure.ac;  cvs diff -u -r 1.1.2.47 -r 1.1.2.48 src/gtk/authors.h;  ) > 3.4.0cvs115.patchset
 ( cvs diff -u -r 1.1.2.48 -r 1.1.2.49 src/gtk/authors.h;  ) > 3.4.0cvs116.patchset
+( cvs diff -u -r 1.26.2.36 -r 1.26.2.37 src/foldersel.c;  ) > 3.5.0cvs1.patchset
index 1150cdf..a4ef3f0 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=5
 MICRO_VERSION=0
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=0
+EXTRA_VERSION=1
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index bc24af3..e3edc43 100644 (file)
@@ -269,8 +269,10 @@ static void foldersel_create(void)
        gtk_tree_view_set_headers_visible(GTK_TREE_VIEW(treeview), FALSE);
        gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(treeview),
                                     prefs_common.use_stripes_everywhere);
+#if GTK_CHECK_VERSION(2,10,0)
        gtk_tree_view_set_enable_tree_lines(GTK_TREE_VIEW(treeview),
                                                        prefs_common.enable_dotted_lines);
+#endif
        gtk_tree_view_set_search_column(GTK_TREE_VIEW(treeview),
                                        FOLDERSEL_FOLDERNAME);