1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 09:13:06 +00:00

(gtk) fix new filtering bug in gtk client

This commit is contained in:
Charles Kerr 2009-04-25 15:41:10 +00:00
parent 001bef8ae0
commit 05db7dd246
2 changed files with 4 additions and 4 deletions

View file

@ -516,7 +516,7 @@ new_priority_combo( struct DetailsImpl * di )
di->bandwidthComboTag = tag;
/* cleanup */
g_object_unref( G_OBJECT( store ) );
g_object_unref( store );
return w;
}
@ -1545,7 +1545,7 @@ peer_page_new( struct DetailsImpl * di )
v = gtk_tree_view_new_with_model( GTK_TREE_MODEL( store ) );
g_signal_connect( v, "button-release-event", G_CALLBACK( on_tree_view_button_released ), NULL );
gtk_tree_view_set_rules_hint( GTK_TREE_VIEW( v ), TRUE );
g_object_unref( G_OBJECT( store ) );
g_object_unref( store );
str = getWebseedColumnNames( WEBSEED_COL_URL );
r = gtk_cell_renderer_text_new( );
@ -1587,7 +1587,7 @@ peer_page_new( struct DetailsImpl * di )
g_signal_connect( v, "query-tooltip",
G_CALLBACK( onPeerViewQueryTooltip ), NULL );
#endif
g_object_unref( G_OBJECT( store ) );
g_object_unref( store );
g_signal_connect( v, "button-release-event",
G_CALLBACK( on_tree_view_button_released ), NULL );

View file

@ -112,7 +112,7 @@ getFilterName( int mode )
case FILTER_MODE_DOWNLOADING: return "show-downloading";
case FILTER_MODE_SEEDING: return "show-seeding";
case FILTER_MODE_PAUSED: return "show-paused";
default: return "show-active"; /* the fallback */
default: return "show-all"; /* the fallback */
}
}
static int