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:
parent
a129483b13
commit
10638fb14a
1 changed files with 7 additions and 2 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue