From d23c661ad77a04c63f6f862ff2404527ac508f57 Mon Sep 17 00:00:00 2001 From: Wolfgang Ulbrich Date: Wed, 20 Jan 2016 15:15:50 +0100 Subject: fix conditions for GtkMisc deprecations --- mate-volume-control/gvc-balance-bar.c | 2 +- mate-volume-control/gvc-channel-bar.c | 2 +- mate-volume-control/gvc-combo-box.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mate-volume-control/gvc-balance-bar.c b/mate-volume-control/gvc-balance-bar.c index 4177613..ff84842 100644 --- a/mate-volume-control/gvc-balance-bar.c +++ b/mate-volume-control/gvc-balance-bar.c @@ -358,7 +358,7 @@ gvc_balance_bar_set_balance_type (GvcBalanceBar *bar, GvcBalanceType btype) break; } -#if GTK_CHECK_VERSION (3, 0, 0) +#if GTK_CHECK_VERSION (3, 16, 0) gtk_label_set_xalign (GTK_LABEL (bar->priv->label), 0.0); gtk_label_set_yalign (GTK_LABEL (bar->priv->label), 0.0); #else diff --git a/mate-volume-control/gvc-channel-bar.c b/mate-volume-control/gvc-channel-bar.c index 6a53d03..70f17ec 100644 --- a/mate-volume-control/gvc-channel-bar.c +++ b/mate-volume-control/gvc-channel-bar.c @@ -1132,7 +1132,7 @@ gvc_channel_bar_init (GvcChannelBar *bar) gtk_widget_set_no_show_all (bar->priv->high_image, TRUE); bar->priv->label = gtk_label_new (NULL); -#if GTK_CHECK_VERSION (3, 0, 0) +#if GTK_CHECK_VERSION (3, 16, 0) gtk_label_set_xalign (GTK_LABEL (bar->priv->label), 0.0); gtk_label_set_yalign (GTK_LABEL (bar->priv->label), 0.5); #else diff --git a/mate-volume-control/gvc-combo-box.c b/mate-volume-control/gvc-combo-box.c index 29e49b5..6a49262 100644 --- a/mate-volume-control/gvc-combo-box.c +++ b/mate-volume-control/gvc-combo-box.c @@ -355,7 +355,7 @@ gvc_combo_box_init (GvcComboBox *combobox) combobox->priv->label = gtk_label_new (NULL); -#if GTK_CHECK_VERSION (3, 0, 0) +#if GTK_CHECK_VERSION (3, 16, 0) gtk_label_set_xalign (GTK_LABEL (combobox->priv->label), 0.0); gtk_label_set_yalign (GTK_LABEL (combobox->priv->label), 0.5); #else -- cgit v1.2.1