[metacity] resizepopup.c: don't use deprecated GtkMisc



commit 1f2ea053b3fc2ce8398166a259f259f03622c154
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Sat Oct 4 15:56:16 2014 +0300

    resizepopup.c: don't use deprecated GtkMisc

 src/ui/resizepopup.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/src/ui/resizepopup.c b/src/ui/resizepopup.c
index e28868b..7c63592 100644
--- a/src/ui/resizepopup.c
+++ b/src/ui/resizepopup.c
@@ -89,7 +89,11 @@ ensure_size_window (MetaResizePopup *popup)
   gtk_container_add (GTK_CONTAINER (popup->size_window), frame);
 
   popup->size_label = gtk_label_new ("");
-  gtk_misc_set_padding (GTK_MISC (popup->size_label), 3, 3);
+
+  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);
 
   gtk_container_add (GTK_CONTAINER (frame), popup->size_label);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]