diff options
author | raveit65 <[email protected]> | 2017-05-01 21:25:16 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-05-01 21:25:16 +0200 |
commit | 2f1b581c28d96eec24a97e8a35f3b26024c554a2 (patch) | |
tree | 540cc542c0a3f84943425e3f3bc5f0947a44c696 /plugins | |
parent | d828fa74ba1e859f2e1e9f4d470708b74b26c4f9 (diff) | |
download | mate-settings-daemon-2f1b581c28d96eec24a97e8a35f3b26024c554a2.tar.bz2 mate-settings-daemon-2f1b581c28d96eec24a97e8a35f3b26024c554a2.tar.xz |
msd-xrandr-manager: avoid deprecated gtk_misc_set_padding
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/xrandr/msd-xrandr-manager.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/xrandr/msd-xrandr-manager.c b/plugins/xrandr/msd-xrandr-manager.c index 3fd9413..c2572de 100644 --- a/plugins/xrandr/msd-xrandr-manager.c +++ b/plugins/xrandr/msd-xrandr-manager.c @@ -1812,9 +1812,10 @@ make_menu_item_for_output_title (MsdXrandrManager *manager, MateRROutputInfo *ou #else gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5); #endif - gtk_misc_set_padding (GTK_MISC (label), - OUTPUT_TITLE_ITEM_BORDER + OUTPUT_TITLE_ITEM_PADDING, - OUTPUT_TITLE_ITEM_BORDER + OUTPUT_TITLE_ITEM_PADDING); + 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); + gtk_widget_set_margin_bottom (label, OUTPUT_TITLE_ITEM_BORDER + OUTPUT_TITLE_ITEM_PADDING); gtk_container_add (GTK_CONTAINER (item), label); |