mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 04:18:39 +00:00
remove unused code: gtr_toolbar_set_orientation() is unnecessary because we always use the default setting
This commit is contained in:
12
gtk/util.c
12
gtk/util.c
@@ -754,18 +754,6 @@ gtr_widget_set_visible( GtkWidget * w, gboolean b )
|
||||
#endif
|
||||
}
|
||||
|
||||
void
|
||||
gtr_toolbar_set_orientation( GtkToolbar * toolbar,
|
||||
GtkOrientation orientation )
|
||||
{
|
||||
#if GTK_CHECK_VERSION( 2,16,0 )
|
||||
gtk_orientable_set_orientation( GTK_ORIENTABLE( toolbar ), orientation );
|
||||
#else
|
||||
gtk_toolbar_set_orientation( toolbar, orientation );
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
/***
|
||||
****
|
||||
***/
|
||||
|
||||
Reference in New Issue
Block a user