1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 00:34:04 +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 ), gtk_tree_sortable_set_sort_column_id( GTK_TREE_SORTABLE( m ),
PEER_COL_PROGRESS, PEER_COL_PROGRESS,
GTK_SORT_DESCENDING ); GTK_SORT_DESCENDING );
#if GTK_CHECK_VERSION( 2,12,0 )
v = GTK_WIDGET( g_object_new( GTK_TYPE_TREE_VIEW, v = GTK_WIDGET( g_object_new( GTK_TYPE_TREE_VIEW,
"model", m, "model", m,
"rules-hint", TRUE, "rules-hint", TRUE,
#if GTK_CHECK_VERSION( 2,12,0 )
"has-tooltip", TRUE, "has-tooltip", TRUE,
#endif
NULL ) ); 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 ) #if GTK_CHECK_VERSION( 2,12,0 )
g_signal_connect( v, "query-tooltip", g_signal_connect( v, "query-tooltip",