1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-23 16:24:02 +00:00

(trunk gtk) fix clang build issue reported by Tronic

This commit is contained in:
Charles Kerr 2009-09-11 14:34:36 +00:00
parent a129483b13
commit 10638fb14a

View file

@ -1489,13 +1489,18 @@ peer_page_new( struct DetailsImpl * di )
gtk_tree_sortable_set_sort_column_id( GTK_TREE_SORTABLE( m ),
PEER_COL_PROGRESS,
GTK_SORT_DESCENDING );
#if GTK_CHECK_VERSION( 2,12,0 )
v = GTK_WIDGET( g_object_new( GTK_TYPE_TREE_VIEW,
"model", m,
"rules-hint", TRUE,
#if GTK_CHECK_VERSION( 2,12,0 )
"has-tooltip", TRUE,
#endif
NULL ) );
#else
v = GTK_WIDGET( g_object_new( GTK_TYPE_TREE_VIEW,
"model", m,
"rules-hint", TRUE,
NULL ) );
#endif
#if GTK_CHECK_VERSION( 2,12,0 )
g_signal_connect( v, "query-tooltip",