summaryrefslogtreecommitdiff
path: root/src/terminal-tab-label.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2018-01-28 19:57:20 +0300
committerraveit65 <[email protected]>2018-01-29 21:14:28 +0100
commit2611e01e644e4a44aec8189bfbcd437bbb27051e (patch)
tree9350a0f0c1389dcff697567850539a01e7191756 /src/terminal-tab-label.c
parent2b454bbabcb0dd7c37fe2856c1020ba18e38e038 (diff)
downloadmate-terminal-2611e01e644e4a44aec8189bfbcd437bbb27051e.tar.bz2
mate-terminal-2611e01e644e4a44aec8189bfbcd437bbb27051e.tar.xz
require GTK+ 3.22 and GLib 2.50
and drop additional checks for min/max GLib versions, it's not needed
Diffstat (limited to 'src/terminal-tab-label.c')
-rw-r--r--src/terminal-tab-label.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/terminal-tab-label.c b/src/terminal-tab-label.c
index 1aac1e1..05355a7 100644
--- a/src/terminal-tab-label.c
+++ b/src/terminal-tab-label.c
@@ -121,13 +121,8 @@ terminal_tab_label_constructor (GType type,
priv->label = label = gtk_label_new (NULL);
-#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);
- gtk_misc_set_padding (GTK_MISC (label), 0, 0);
-#endif
gtk_label_set_ellipsize (GTK_LABEL (label), PANGO_ELLIPSIZE_END);
gtk_label_set_single_line_mode (GTK_LABEL (label), TRUE);