From d2504280ecf6d509c1f17b75b8e0aeecde03effc Mon Sep 17 00:00:00 2001 From: Wolfgang Ulbrich Date: Fri, 13 Nov 2015 18:12:28 +0100 Subject: Gtk+-3.14 resizepopup.c: don't use deprecated GtkMisc taken from: https://git.gnome.org/browse/metacity/commit/?id=1f2ea05 --- src/ui/resizepopup.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/ui/resizepopup.c b/src/ui/resizepopup.c index 977b196b..97f07c2c 100644 --- a/src/ui/resizepopup.c +++ b/src/ui/resizepopup.c @@ -91,7 +91,14 @@ ensure_size_window (MetaResizePopup *popup) gtk_container_add (GTK_CONTAINER (popup->size_window), frame); popup->size_label = gtk_label_new (""); +#if GTK_CHECK_VERSION (3, 14, 0) + gtk_widget_set_margin_start (popup->size_label, 3); + gtk_widget_set_margin_end (popup->size_label, 3); + gtk_widget_set_margin_top (popup->size_label, 3); + gtk_widget_set_margin_bottom (popup->size_label, 3); +#else gtk_misc_set_padding (GTK_MISC (popup->size_label), 3, 3); +#endif gtk_container_add (GTK_CONTAINER (frame), popup->size_label); -- cgit v1.2.1