summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2016-01-20 15:30:35 +0100
committerWolfgang Ulbrich <[email protected]>2016-01-20 15:30:35 +0100
commitd590df028f15895d2c28a22a05e3ac6c7d940fe7 (patch)
treebe2672f63ea234dd52e08113619f70f6b0702f35
parent5ef25f79140adebbadcf1d53d8b6dbbe5baf51b5 (diff)
downloadmate-terminal-d590df028f15895d2c28a22a05e3ac6c7d940fe7.tar.bz2
mate-terminal-d590df028f15895d2c28a22a05e3ac6c7d940fe7.tar.xz
fix conditions for GtkMisc deprecations
-rw-r--r--src/terminal-info-bar.c2
-rw-r--r--src/terminal-tab-label.c2
-rw-r--r--src/terminal-window.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/terminal-info-bar.c b/src/terminal-info-bar.c
index 63c91d6..e382783 100644
--- a/src/terminal-info-bar.c
+++ b/src/terminal-info-bar.c
@@ -117,7 +117,7 @@ terminal_info_bar_format_text (TerminalInfoBar *bar,
gtk_label_set_line_wrap (GTK_LABEL (label), TRUE);
gtk_label_set_selectable (GTK_LABEL (label), TRUE);
-#if GTK_CHECK_VERSION (3, 0, 0)
+#if GTK_CHECK_VERSION (3, 16, 0)
gtk_label_set_xalign (GTK_LABEL (label), 0.0);
gtk_label_set_yalign (GTK_LABEL (label), 0.0);
#else
diff --git a/src/terminal-tab-label.c b/src/terminal-tab-label.c
index b8da776..ef71437 100644
--- a/src/terminal-tab-label.c
+++ b/src/terminal-tab-label.c
@@ -136,7 +136,7 @@ terminal_tab_label_constructor (GType type,
priv->label = 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 (label), 0.0);
gtk_label_set_yalign (GTK_LABEL (label), 0.5);
#else
diff --git a/src/terminal-window.c b/src/terminal-window.c
index f380917..245900d 100644
--- a/src/terminal-window.c
+++ b/src/terminal-window.c
@@ -3915,7 +3915,7 @@ terminal_set_title_callback (GtkAction *action,
gtk_box_pack_start (GTK_BOX (message_area), hbox, FALSE, FALSE, 0);
label = gtk_label_new_with_mnemonic (_("_Title:"));
-#if GTK_CHECK_VERSION (3, 0, 0)
+#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