summaryrefslogtreecommitdiff
path: root/src/caja-share-bar.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2018-01-28 11:43:24 +0300
committerraveit65 <[email protected]>2018-01-29 14:22:01 +0100
commit31da7a4eb64da546b3eb9d3226f6a5710bf0de2d (patch)
tree90b3951963f1f66c382b2c9e01273549c4b22dfa /src/caja-share-bar.c
parentc0f503b1b003bb664545a3685b863f2ce6fdb1c4 (diff)
downloadmate-user-share-31da7a4eb64da546b3eb9d3226f6a5710bf0de2d.tar.bz2
mate-user-share-31da7a4eb64da546b3eb9d3226f6a5710bf0de2d.tar.xz
require GTK+ 3.22 and GLib 2.50
Diffstat (limited to 'src/caja-share-bar.c')
-rw-r--r--src/caja-share-bar.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/caja-share-bar.c b/src/caja-share-bar.c
index 8a0de08..6c62a26 100644
--- a/src/caja-share-bar.c
+++ b/src/caja-share-bar.c
@@ -104,22 +104,14 @@ caja_share_bar_init (CajaShareBar *bar)
gtk_label_set_attributes (GTK_LABEL (label), attrs);
pango_attr_list_unref (attrs);
-#if GTK_CHECK_VERSION (3, 16, 0)
gtk_label_set_xalign (GTK_LABEL (label), 0.0);
gtk_label_set_yalign (GTK_LABEL (label), 0.5);
-#else
- gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
-#endif
gtk_widget_show (label);
gtk_container_add (GTK_CONTAINER (vbox), label);
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_show (bar->priv->label);
gtk_container_add (GTK_CONTAINER (vbox), bar->priv->label);