# HG changeset patch # User Richard Laager # Date 1139278956 0 # Node ID a3c1112bb190afd7f64f1669edecb8a329ccb732 # Parent bfd7b9e3c7052183686fc3d1182b3beb0610e33d [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 diff -r bfd7b9e3c705 -r a3c1112bb190 COPYRIGHT --- 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 diff -r bfd7b9e3c705 -r a3c1112bb190 src/gtkblist.c --- 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 }