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



commit e6509643d3fe2024108a32b817d35d4c9ec3997e
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Sat Oct 4 15:32:09 2014 +0300

    tabpopup.c: don't use deprecated GtkMisc

 src/ui/tabpopup.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/ui/tabpopup.c b/src/ui/tabpopup.c
index 34a5243..94a5238 100644
--- a/src/ui/tabpopup.c
+++ b/src/ui/tabpopup.c
@@ -296,9 +296,7 @@ meta_ui_tab_popup_new (const MetaTabEntry *entries,
   obj = gtk_widget_get_accessible (popup->label);
   atk_object_set_role (obj, ATK_ROLE_STATUSBAR);
 
-  gtk_misc_set_padding (GTK_MISC (popup->label), 3, 3);
-
-  gtk_box_pack_end (GTK_BOX (vbox), popup->label, FALSE, FALSE, 0);
+  gtk_box_pack_end (GTK_BOX (vbox), popup->label, FALSE, FALSE, 3);
 
   max_label_width = 0;
   top = 0;


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