aboutsummaryrefslogtreecommitdiff
path: root/src/folderview.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-04-15 09:52:40 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-04-15 09:52:40 +0000
commit46b76d1d53192b66b2041ce3352549c3bb95281d (patch)
treed0baf02adb072b8dc5917a793df21fac00da3c46 /src/folderview.c
parent4ef48f68cd50157049aa26daca6b5a3e857e08f0 (diff)
compilation fix for GTK 2.4.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@219 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/folderview.c')
-rw-r--r--src/folderview.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/folderview.c b/src/folderview.c
index 17816752..9c848218 100644
--- a/src/folderview.c
+++ b/src/folderview.c
@@ -336,8 +336,12 @@ FolderView *folderview_create(void)
NULL);
renderer = gtk_cell_renderer_text_new();
+#if GTK_CHECK_VERSION(2, 6, 0)
g_object_set(renderer, "ellipsize", PANGO_ELLIPSIZE_END, "ypad", 0,
NULL);
+#else
+ g_object_set(renderer, "ypad", 0, NULL);
+#endif
gtk_tree_view_column_pack_start(column, renderer, TRUE);
gtk_tree_view_column_set_attributes(column, renderer,
"text", COL_FOLDER_NAME,