diff options
author | Stefano Karapetsas <[email protected]> | 2014-01-20 16:15:52 +0100 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2014-01-20 16:15:52 +0100 |
commit | 6bab762efb1b6a9f609650d3934bec09527360f8 (patch) | |
tree | 03bd6e4e39138038c794936f89ae0d5c4de4c11b /sound-theme/gvc-sound-theme-chooser.h | |
parent | 3b258104eee9458fe14bae1ffe0353fb0818be6f (diff) | |
download | mate-media-6bab762efb1b6a9f609650d3934bec09527360f8.tar.bz2 mate-media-6bab762efb1b6a9f609650d3934bec09527360f8.tar.xz |
sound-theme: Add GTK3 support
Diffstat (limited to 'sound-theme/gvc-sound-theme-chooser.h')
-rw-r--r-- | sound-theme/gvc-sound-theme-chooser.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sound-theme/gvc-sound-theme-chooser.h b/sound-theme/gvc-sound-theme-chooser.h index 026dd7c..c7bfac0 100644 --- a/sound-theme/gvc-sound-theme-chooser.h +++ b/sound-theme/gvc-sound-theme-chooser.h @@ -36,13 +36,21 @@ typedef struct GvcSoundThemeChooserPrivate GvcSoundThemeChooserPrivate; typedef struct { +#if GTK_CHECK_VERSION (3, 0, 0) + GtkBox parent; +#else GtkVBox parent; +#endif GvcSoundThemeChooserPrivate *priv; } GvcSoundThemeChooser; typedef struct { +#if GTK_CHECK_VERSION (3, 0, 0) + GtkBoxClass parent_class; +#else GtkVBoxClass parent_class; +#endif } GvcSoundThemeChooserClass; GType gvc_sound_theme_chooser_get_type (void); |