summaryrefslogtreecommitdiff
path: root/src/gs-window-x11.c
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2016-01-26 10:33:14 +0100
committerWolfgang Ulbrich <[email protected]>2016-01-26 10:33:14 +0100
commit3ccd1dd7e006e32c78b14f8c00946d5cdeacc3ae (patch)
treea4944709b8d96ddfd43b55c9cfc281ced6cd334e /src/gs-window-x11.c
parent5401618f546c8486c99491f32139638ffb3ea45d (diff)
downloadmate-screensaver-3ccd1dd7e006e32c78b14f8c00946d5cdeacc3ae.tar.bz2
mate-screensaver-3ccd1dd7e006e32c78b14f8c00946d5cdeacc3ae.tar.xz
GTK3: fix GtkMisc decperation commit
Diffstat (limited to 'src/gs-window-x11.c')
-rw-r--r--src/gs-window-x11.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gs-window-x11.c b/src/gs-window-x11.c
index 066d4a7..6dd6d59 100644
--- a/src/gs-window-x11.c
+++ b/src/gs-window-x11.c
@@ -1125,7 +1125,7 @@ set_info_text_and_icon (GSWindow *window,
image = gtk_image_new_from_stock (icon_stock_id, GTK_ICON_SIZE_DIALOG);
gtk_widget_show (image);
gtk_box_pack_start (GTK_BOX (hbox_content), image, FALSE, FALSE, 0);
-#if GTK_CHECK_VERSION (3, 14, 0)
+#if GTK_CHECK_VERSION (3, 0, 0)
gtk_widget_set_valign (image, GTK_ALIGN_START);
#else
gtk_misc_set_alignment (GTK_MISC (image), 0.5, 0);
@@ -1142,7 +1142,7 @@ set_info_text_and_icon (GSWindow *window,
gtk_box_pack_start (GTK_BOX (vbox), primary_label, TRUE, TRUE, 0);
gtk_label_set_use_markup (GTK_LABEL (primary_label), TRUE);
gtk_label_set_line_wrap (GTK_LABEL (primary_label), TRUE);
-#if GTK_CHECK_VERSION (3, 14, 0)
+#if GTK_CHECK_VERSION (3, 0, 0)
gtk_widget_set_halign (primary_label, GTK_ALIGN_START);
#else
gtk_misc_set_alignment (GTK_MISC (primary_label), 0, 0.5);
@@ -1158,7 +1158,7 @@ set_info_text_and_icon (GSWindow *window,
gtk_box_pack_start (GTK_BOX (vbox), secondary_label, TRUE, TRUE, 0);
gtk_label_set_use_markup (GTK_LABEL (secondary_label), TRUE);
gtk_label_set_line_wrap (GTK_LABEL (secondary_label), TRUE);
-#if GTK_CHECK_VERSION (3, 14, 0)
+#if GTK_CHECK_VERSION (3, 0, 0)
gtk_widget_set_halign (secondary_label, GTK_ALIGN_START);
#else
gtk_misc_set_alignment (GTK_MISC (secondary_label), 0, 0.5);