summaryrefslogtreecommitdiff
path: root/mate-volume-control/gvc-channel-bar.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-01-20 14:07:11 +0300
committermonsta <[email protected]>2016-01-20 14:07:11 +0300
commit3447078bdbfc279c92f09f4bcb102d73e220cd41 (patch)
tree132ee0a84e8879e07e1a32730809977350fceacf /mate-volume-control/gvc-channel-bar.c
parent086496e0aaa056bc894ac7dab5c60eb0f9c34645 (diff)
downloadmate-media-3447078bdbfc279c92f09f4bcb102d73e220cd41.tar.bz2
mate-media-3447078bdbfc279c92f09f4bcb102d73e220cd41.tar.xz
use GtkBox instead of GtkVBox/GtkHBox in both GTK+ builds
and fix deprecated usage of GtkHBox and GtkVBox in GTK+3 build
Diffstat (limited to 'mate-volume-control/gvc-channel-bar.c')
-rw-r--r--mate-volume-control/gvc-channel-bar.c4
1 files changed, 0 insertions, 4 deletions
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)