summaryrefslogtreecommitdiff
path: root/mate-volume-control/gvc-sound-theme-chooser.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-sound-theme-chooser.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-sound-theme-chooser.c')
-rw-r--r--mate-volume-control/gvc-sound-theme-chooser.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/mate-volume-control/gvc-sound-theme-chooser.c b/mate-volume-control/gvc-sound-theme-chooser.c
index 55c4ee2..a30518d 100644
--- a/mate-volume-control/gvc-sound-theme-chooser.c
+++ b/mate-volume-control/gvc-sound-theme-chooser.c
@@ -54,11 +54,7 @@ static void gvc_sound_theme_chooser_class_init (GvcSoundThemeChooserClass *k
static void gvc_sound_theme_chooser_init (GvcSoundThemeChooser *sound_theme_chooser);
static void gvc_sound_theme_chooser_dispose (GObject *object);
-#if GTK_CHECK_VERSION (3, 0, 0)
G_DEFINE_TYPE (GvcSoundThemeChooser, gvc_sound_theme_chooser, GTK_TYPE_BOX)
-#else
-G_DEFINE_TYPE (GvcSoundThemeChooser, gvc_sound_theme_chooser, GTK_TYPE_VBOX)
-#endif
#define KEY_SOUNDS_SCHEMA "org.mate.sound"
#define EVENT_SOUNDS_KEY "event-sounds"
@@ -1142,8 +1138,6 @@ gvc_sound_theme_chooser_new (void)
{
return g_object_new (GVC_TYPE_SOUND_THEME_CHOOSER,
"spacing", 6,
-#if GTK_CHECK_VERSION (3, 0, 0)
"orientation", GTK_ORIENTATION_VERTICAL,
-#endif
NULL);
}