diff options
Diffstat (limited to 'mate-volume-control/gvc-balance-bar.c')
-rw-r--r-- | mate-volume-control/gvc-balance-bar.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mate-volume-control/gvc-balance-bar.c b/mate-volume-control/gvc-balance-bar.c index c7f8919..4177613 100644 --- a/mate-volume-control/gvc-balance-bar.c +++ b/mate-volume-control/gvc-balance-bar.c @@ -358,7 +358,12 @@ gvc_balance_bar_set_balance_type (GvcBalanceBar *bar, GvcBalanceType btype) break; } +#if GTK_CHECK_VERSION (3, 0, 0) + gtk_label_set_xalign (GTK_LABEL (bar->priv->label), 0.0); + gtk_label_set_yalign (GTK_LABEL (bar->priv->label), 0.0); +#else gtk_misc_set_alignment (GTK_MISC (bar->priv->label), 0.0, 0.0); +#endif /* Frame */ frame = gtk_frame_new (NULL); |