[Commits] mimeview.c 1.83.2.184 1.83.2.185

colin at claws-mail.org colin at claws-mail.org
Wed Dec 28 10:11:54 CET 2011


Update of /home/claws-mail/claws/src
In directory claws-mail:/tmp/cvs-serv9012/src

Modified Files:
      Tag: gtk2
	mimeview.c 
Log Message:
2011-12-28 [colin]	3.8.0cvs5

	* src/mimeview.c
		Fix GTK+2.16 build (w32)

Index: mimeview.c
===================================================================
RCS file: /home/claws-mail/claws/src/mimeview.c,v
retrieving revision 1.83.2.184
retrieving revision 1.83.2.185
diff -u -d -r1.83.2.184 -r1.83.2.185
--- mimeview.c	8 Dec 2011 19:45:24 -0000	1.83.2.184
+++ mimeview.c	28 Dec 2011 09:11:51 -0000	1.83.2.185
@@ -307,7 +307,9 @@
 	column = gtk_tree_view_get_column(GTK_TREE_VIEW(ctree), cols-1);
 							   
 	renderer = gtk_cell_renderer_text_new();
+#if(GTK_CHECK_VERSION(2,18,0))
 	gtk_cell_renderer_set_alignment(renderer, 1, 0.5);
+#end
 	cols = gtk_tree_view_insert_column_with_attributes(GTK_TREE_VIEW(ctree),
 					-1, titles[COL_SIZE], renderer,
 					"text", COL_SIZE, NULL);



More information about the Commits mailing list