changeset 13146:a3c1112bb190

[gaim-migrate @ 15509] SF Patch #1424827 from Mart Raudsepp (leio) "gtk_tree_view_columns_autosize is a function to autosize a treeviews columns automatically to their optimal width. This was necessary when the buddy list treeview could have a horizontal scrollbar, but now there is none and the widths are fixed, based on the toplevels width." I imagine this is only valid for GTK+ 2.6.0, so rather than removing the aforemeentioned line of code, I'm #if'ing it based on GTK+ version. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Tue, 07 Feb 2006 02:22:36 +0000
parents bfd7b9e3c705
children 21ee457d479c
files COPYRIGHT src/gtkblist.c
diffstat 2 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/COPYRIGHT	Tue Feb 07 02:09:12 2006 +0000
+++ b/COPYRIGHT	Tue Feb 07 02:22:36 2006 +0000
@@ -207,6 +207,7 @@
 Federicco Mena Quintero
 Yosef Radchenko
 David Raeman
+Mart Raudsepp
 Etan Reisner
 Kristian Rietveld
 Pekka Riikonen
--- a/src/gtkblist.c	Tue Feb 07 02:09:12 2006 +0000
+++ b/src/gtkblist.c	Tue Feb 07 02:22:36 2006 +0000
@@ -4271,7 +4271,9 @@
 			return;
 	}
 
+#if !GTK_CHECK_VERSION(2,6,0)
 	gtk_tree_view_columns_autosize(GTK_TREE_VIEW(gtkblist->treeview));
+#endif
 }