summaryrefslogtreecommitdiff
path: root/capplets/appearance
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-02-04 13:59:26 +0300
committermonsta <[email protected]>2016-02-04 14:08:33 +0300
commit73bc9f672f869f4685076ac6cafe76988cadbbf2 (patch)
tree0f786f57f9e989e4607bb19d5b071eabdeec564a /capplets/appearance
parent529814000d3bdd36675d5a4bf7395f49600c5332 (diff)
downloadmate-control-center-73bc9f672f869f4685076ac6cafe76988cadbbf2.tar.bz2
mate-control-center-73bc9f672f869f4685076ac6cafe76988cadbbf2.tar.xz
[GTK+3] don't set x/y align to 0.5 - it's the default value anyway
Diffstat (limited to 'capplets/appearance')
-rw-r--r--capplets/appearance/appearance-style.c1
-rw-r--r--capplets/appearance/appearance-themes.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/capplets/appearance/appearance-style.c b/capplets/appearance/appearance-style.c
index 21fe2002..f5722a1f 100644
--- a/capplets/appearance/appearance-style.c
+++ b/capplets/appearance/appearance-style.c
@@ -236,7 +236,6 @@ static void update_message_area(AppearanceData* data)
gtk_label_set_line_wrap (GTK_LABEL (data->style_message_label), TRUE);
#if GTK_CHECK_VERSION (3, 16, 0)
gtk_label_set_xalign (GTK_LABEL (data->style_message_label), 0.0);
- gtk_label_set_yalign (GTK_LABEL (data->style_message_label), 0.5);
#else
gtk_misc_set_alignment (GTK_MISC (data->style_message_label), 0.0, 0.5);
#endif
diff --git a/capplets/appearance/appearance-themes.c b/capplets/appearance/appearance-themes.c
index a9b0af30..2fcff32b 100644
--- a/capplets/appearance/appearance-themes.c
+++ b/capplets/appearance/appearance-themes.c
@@ -666,7 +666,6 @@ theme_message_area_update (AppearanceData *data)
gtk_label_set_line_wrap (GTK_LABEL (data->theme_message_label), TRUE);
#if GTK_CHECK_VERSION (3, 16, 0)
gtk_label_set_xalign (GTK_LABEL (data->theme_message_label), 0.0);
- gtk_label_set_yalign (GTK_LABEL (data->theme_message_label), 0.5);
#else
gtk_misc_set_alignment (GTK_MISC (data->theme_message_label), 0.0, 0.5);
#endif