diff options
author | monsta <[email protected]> | 2016-02-04 13:59:26 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-02-04 14:08:33 +0300 |
commit | 73bc9f672f869f4685076ac6cafe76988cadbbf2 (patch) | |
tree | 0f786f57f9e989e4607bb19d5b071eabdeec564a /libslab | |
parent | 529814000d3bdd36675d5a4bf7395f49600c5332 (diff) | |
download | mate-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 'libslab')
-rw-r--r-- | libslab/slab-section.c | 1 | ||||
-rw-r--r-- | libslab/tile-action.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/libslab/slab-section.c b/libslab/slab-section.c index 2f763a6e..f28f5c41 100644 --- a/libslab/slab-section.c +++ b/libslab/slab-section.c @@ -157,7 +157,6 @@ slab_section_new_with_markup (const gchar * title_markup, SlabStyle style) gtk_label_set_use_markup (GTK_LABEL (section->title), TRUE); #if GTK_CHECK_VERSION (3, 16, 0) gtk_label_set_xalign (GTK_LABEL (section->title), 0.0); - gtk_label_set_yalign (GTK_LABEL (section->title), 0.5); #else gtk_misc_set_alignment (GTK_MISC (section->title), 0.0, 0.5); #endif diff --git a/libslab/tile-action.c b/libslab/tile-action.c index 886dec8a..c87f2dad 100644 --- a/libslab/tile-action.c +++ b/libslab/tile-action.c @@ -85,7 +85,6 @@ tile_action_set_menu_item_label (TileAction * this, const gchar * markup) gtk_label_set_use_markup (GTK_LABEL (label), TRUE); #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 |