mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 12:28:52 +00:00
(trunk gtk) #4970 remove deprecated GTK+ API calls, raise GTK+ dependency to 3.2
This commit is contained in:
20
gtk/util.c
20
gtk/util.c
@@ -472,26 +472,6 @@ gtr_priority_combo_new( void )
|
||||
****
|
||||
***/
|
||||
|
||||
GtkWidget*
|
||||
gtr_hbox_new( gboolean homogenous UNUSED, gint spacing )
|
||||
{
|
||||
#if GTK_CHECK_VERSION( 3,2,0 )
|
||||
return gtk_box_new( GTK_ORIENTATION_HORIZONTAL, spacing );
|
||||
#else
|
||||
return gtk_hbox_new( homogenous, spacing );
|
||||
#endif
|
||||
}
|
||||
|
||||
GtkWidget*
|
||||
gtr_vbox_new( gboolean homogenous UNUSED, gint spacing )
|
||||
{
|
||||
#if GTK_CHECK_VERSION( 3,2,0 )
|
||||
return gtk_box_new( GTK_ORIENTATION_VERTICAL, spacing );
|
||||
#else
|
||||
return gtk_vbox_new( homogenous, spacing );
|
||||
#endif
|
||||
}
|
||||
|
||||
#define GTR_CHILD_HIDDEN "gtr-child-hidden"
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user