From 3447078bdbfc279c92f09f4bcb102d73e220cd41 Mon Sep 17 00:00:00 2001 From: monsta Date: Wed, 20 Jan 2016 14:07:11 +0300 Subject: use GtkBox instead of GtkVBox/GtkHBox in both GTK+ builds and fix deprecated usage of GtkHBox and GtkVBox in GTK+3 build --- mate-volume-control/gvc-balance-bar.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'mate-volume-control/gvc-balance-bar.c') diff --git a/mate-volume-control/gvc-balance-bar.c b/mate-volume-control/gvc-balance-bar.c index 7431773..c7f8919 100644 --- a/mate-volume-control/gvc-balance-bar.c +++ b/mate-volume-control/gvc-balance-bar.c @@ -74,11 +74,7 @@ static gboolean on_scale_scroll_event (GtkWidget *widget, static void on_adjustment_value_changed (GtkAdjustment *adjustment, GvcBalanceBar *bar); -#if GTK_CHECK_VERSION (3, 0, 0) G_DEFINE_TYPE (GvcBalanceBar, gvc_balance_bar, GTK_TYPE_BOX) -#else -G_DEFINE_TYPE (GvcBalanceBar, gvc_balance_bar, GTK_TYPE_HBOX) -#endif static void create_scale_box (GvcBalanceBar *bar) -- cgit v1.2.1