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-channel-bar.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'mate-volume-control/gvc-channel-bar.c') diff --git a/mate-volume-control/gvc-channel-bar.c b/mate-volume-control/gvc-channel-bar.c index e431651..a9cba92 100644 --- a/mate-volume-control/gvc-channel-bar.c +++ b/mate-volume-control/gvc-channel-bar.c @@ -89,11 +89,7 @@ static gboolean on_scale_scroll_event (GtkWidget *widget, GdkEventScroll *event, GvcChannelBar *bar); -#if GTK_CHECK_VERSION (3, 0, 0) G_DEFINE_TYPE (GvcChannelBar, gvc_channel_bar, GTK_TYPE_BOX) -#else -G_DEFINE_TYPE (GvcChannelBar, gvc_channel_bar, GTK_TYPE_HBOX) -#endif static void create_scale_box (GvcChannelBar *bar) -- cgit v1.2.1