summaryrefslogtreecommitdiff
path: root/mate-volume-control
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2016-01-20 15:15:50 +0100
committerWolfgang Ulbrich <[email protected]>2016-01-20 15:15:50 +0100
commitd23c661ad77a04c63f6f862ff2404527ac508f57 (patch)
tree27fa673236fb7572823f888d56c525df86917246 /mate-volume-control
parent08d2a1e2280991796805f34cb76ace948c6b7bbf (diff)
downloadmate-media-d23c661ad77a04c63f6f862ff2404527ac508f57.tar.bz2
mate-media-d23c661ad77a04c63f6f862ff2404527ac508f57.tar.xz
fix conditions for GtkMisc deprecations
Diffstat (limited to 'mate-volume-control')
-rw-r--r--mate-volume-control/gvc-balance-bar.c2
-rw-r--r--mate-volume-control/gvc-channel-bar.c2
-rw-r--r--mate-volume-control/gvc-combo-box.c2
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