summaryrefslogtreecommitdiff
path: root/src/ui/resizepopup.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-10-15 15:39:12 +0300
committermonsta <[email protected]>2016-10-15 15:39:12 +0300
commit40e26ed6d0e9ef84522ad0723f630bd7d796beec (patch)
tree67374984e9b7d2c60525976a008889775f7de4f3 /src/ui/resizepopup.c
parent3b69fd200912e27ce64caf3bf5d4338aab73177b (diff)
downloadmarco-40e26ed6d0e9ef84522ad0723f630bd7d796beec.tar.bz2
marco-40e26ed6d0e9ef84522ad0723f630bd7d796beec.tar.xz
move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build option
Diffstat (limited to 'src/ui/resizepopup.c')
-rw-r--r--src/ui/resizepopup.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/ui/resizepopup.c b/src/ui/resizepopup.c
index 97f07c2c..a4d9e976 100644
--- a/src/ui/resizepopup.c
+++ b/src/ui/resizepopup.c
@@ -91,14 +91,10 @@ 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);