summaryrefslogtreecommitdiff
path: root/src/ui/resizepopup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/resizepopup.c')
-rw-r--r--src/ui/resizepopup.c7
1 files changed, 7 insertions, 0 deletions
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);