summaryrefslogtreecommitdiff
path: root/plugins/xrandr
diff options
context:
space:
mode:
authormonsta <[email protected]>2018-01-28 21:33:09 +0300
committerraveit65 <[email protected]>2018-01-30 14:03:10 +0100
commit336743475664829a64d13bbd70a2c97a58375d0c (patch)
tree2f3498fee5dc93d489e8768c54d01228c5863629 /plugins/xrandr
parenteaad50f7624c8946e57ca075f8b7e383b1715bcc (diff)
downloadmate-settings-daemon-336743475664829a64d13bbd70a2c97a58375d0c.tar.bz2
mate-settings-daemon-336743475664829a64d13bbd70a2c97a58375d0c.tar.xz
require GTK+ 3.22 and GLib 2.50
Diffstat (limited to 'plugins/xrandr')
-rw-r--r--plugins/xrandr/msd-xrandr-manager.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/plugins/xrandr/msd-xrandr-manager.c b/plugins/xrandr/msd-xrandr-manager.c
index c2572de..580e157 100644
--- a/plugins/xrandr/msd-xrandr-manager.c
+++ b/plugins/xrandr/msd-xrandr-manager.c
@@ -1806,12 +1806,8 @@ make_menu_item_for_output_title (MsdXrandrManager *manager, MateRROutputInfo *ou
gtk_widget_modify_fg (label, gtk_widget_get_state (label), &black);
/* Add padding around the label to fit the box that we'll draw for color-coding */
-#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
gtk_widget_set_margin_start (label, OUTPUT_TITLE_ITEM_BORDER + OUTPUT_TITLE_ITEM_PADDING);
gtk_widget_set_margin_end (label, OUTPUT_TITLE_ITEM_BORDER + OUTPUT_TITLE_ITEM_PADDING);
gtk_widget_set_margin_top (label, OUTPUT_TITLE_ITEM_BORDER + OUTPUT_TITLE_ITEM_PADDING);