diff options
author | Stefano Karapetsas <[email protected]> | 2014-01-20 16:16:24 +0100 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2014-01-20 16:16:24 +0100 |
commit | 89df05d618d097c98d0586c67e9d8fb9ae402cb6 (patch) | |
tree | d9551e69ecf73ee078f25dd30d977c64ea144676 /mate-volume-control/src/gvc-balance-bar.h | |
parent | 6bab762efb1b6a9f609650d3934bec09527360f8 (diff) | |
download | mate-media-89df05d618d097c98d0586c67e9d8fb9ae402cb6.tar.bz2 mate-media-89df05d618d097c98d0586c67e9d8fb9ae402cb6.tar.xz |
mate-volume-control: Add GTK3 support
Diffstat (limited to 'mate-volume-control/src/gvc-balance-bar.h')
-rw-r--r-- | mate-volume-control/src/gvc-balance-bar.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mate-volume-control/src/gvc-balance-bar.h b/mate-volume-control/src/gvc-balance-bar.h index 53f8c83..bb3b8f7 100644 --- a/mate-volume-control/src/gvc-balance-bar.h +++ b/mate-volume-control/src/gvc-balance-bar.h @@ -46,13 +46,21 @@ typedef struct GvcBalanceBarPrivate GvcBalanceBarPrivate; typedef struct { +#if GTK_CHECK_VERSION (3, 0, 0) + GtkBox parent; +#else GtkHBox parent; +#endif GvcBalanceBarPrivate *priv; } GvcBalanceBar; typedef struct { +#if GTK_CHECK_VERSION (3, 0, 0) + GtkBoxClass parent_class; +#else GtkHBoxClass parent_class; +#endif } GvcBalanceBarClass; GType gvc_balance_bar_get_type (void); |