diff options
author | monsta <[email protected]> | 2018-01-27 23:11:54 +0300 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-01-28 13:51:08 +0100 |
commit | 5591a23a25c5795985045e4fd58a79ae9da392f5 (patch) | |
tree | 618d7bfa52183240be69f39f5fe27958b328e699 /mate-volume-control/gvc-channel-bar.c | |
parent | ea93aed965bedb54269e2d8aecd9ff6d8639d0a5 (diff) | |
download | mate-media-5591a23a25c5795985045e4fd58a79ae9da392f5.tar.bz2 mate-media-5591a23a25c5795985045e4fd58a79ae9da392f5.tar.xz |
require GTK+ 3.22 and GLib 2.50
Diffstat (limited to 'mate-volume-control/gvc-channel-bar.c')
-rw-r--r-- | mate-volume-control/gvc-channel-bar.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/mate-volume-control/gvc-channel-bar.c b/mate-volume-control/gvc-channel-bar.c index 4cecebd..ad05abf 100644 --- a/mate-volume-control/gvc-channel-bar.c +++ b/mate-volume-control/gvc-channel-bar.c @@ -340,24 +340,16 @@ update_marks (GvcChannelBar *bar) gtk_widget_set_halign (bar->priv->high_image, GTK_ALIGN_CENTER); gtk_widget_set_valign (bar->priv->high_image, GTK_ALIGN_START); -#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 - gtk_misc_set_alignment (GTK_MISC (bar->priv->label), 0.0, 0.0); -#endif } else { gtk_widget_set_halign (bar->priv->low_image, GTK_ALIGN_CENTER); gtk_widget_set_valign (bar->priv->low_image, GTK_ALIGN_CENTER); gtk_widget_set_halign (bar->priv->high_image, GTK_ALIGN_CENTER); gtk_widget_set_valign (bar->priv->high_image, GTK_ALIGN_CENTER); -#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 - gtk_misc_set_alignment (GTK_MISC (bar->priv->label), 0.0, 0.5); -#endif } } @@ -1102,12 +1094,8 @@ 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, 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 - gtk_misc_set_alignment (GTK_MISC (bar->priv->label), 0.0, 0.5); -#endif gtk_widget_set_no_show_all (bar->priv->label, TRUE); /* Frame */ |