diff options
Diffstat (limited to 'mate-volume-control/src/gvc-combo-box.h')
-rw-r--r-- | mate-volume-control/src/gvc-combo-box.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mate-volume-control/src/gvc-combo-box.h b/mate-volume-control/src/gvc-combo-box.h index b945ba3..ee18ff8 100644 --- a/mate-volume-control/src/gvc-combo-box.h +++ b/mate-volume-control/src/gvc-combo-box.h @@ -36,13 +36,21 @@ typedef struct GvcComboBoxPrivate GvcComboBoxPrivate; typedef struct { +#if GTK_CHECK_VERSION (3, 0, 0) + GtkBox parent; +#else GtkHBox parent; +#endif GvcComboBoxPrivate *priv; } GvcComboBox; typedef struct { +#if GTK_CHECK_VERSION (3, 0, 0) + GtkBoxClass parent_class; +#else GtkHBoxClass parent_class; +#endif void (* changed) (GvcComboBox *combobox, const char *name); void (* button_clicked) (GvcComboBox *combobox); } GvcComboBoxClass; |