summaryrefslogtreecommitdiff
path: root/mate-volume-control/src/gvc-channel-bar.h
diff options
context:
space:
mode:
Diffstat (limited to 'mate-volume-control/src/gvc-channel-bar.h')
-rw-r--r--mate-volume-control/src/gvc-channel-bar.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/mate-volume-control/src/gvc-channel-bar.h b/mate-volume-control/src/gvc-channel-bar.h
index 1fa5602..b398756 100644
--- a/mate-volume-control/src/gvc-channel-bar.h
+++ b/mate-volume-control/src/gvc-channel-bar.h
@@ -36,13 +36,21 @@ typedef struct GvcChannelBarPrivate GvcChannelBarPrivate;
typedef struct
{
+#if GTK_CHECK_VERSION (3, 0, 0)
+ GtkBox parent;
+#else
GtkHBox parent;
+#endif
GvcChannelBarPrivate *priv;
} GvcChannelBar;
typedef struct
{
+#if GTK_CHECK_VERSION (3, 0, 0)
+ GtkBoxClass parent_class;
+#else
GtkHBoxClass parent_class;
+#endif
} GvcChannelBarClass;
GType gvc_channel_bar_get_type (void);