[libwnck/wip/muktupavels/gnome-3-18: 4/8] tasklist: don't use deprecated GtkMisc



commit 69c58ddef6984660284ac9a63fd20fbcdd8b5459
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Tue Mar 22 15:48:11 2016 +0200

    tasklist: don't use deprecated GtkMisc

 libwnck/tasklist.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libwnck/tasklist.c b/libwnck/tasklist.c
index 647266c..ea49485 100644
--- a/libwnck/tasklist.c
+++ b/libwnck/tasklist.c
@@ -3773,7 +3773,7 @@ wnck_task_create_widgets (WnckTask *task, GtkReliefStyle relief)
 
   text = wnck_task_get_text (task, TRUE, TRUE);
   task->label = gtk_label_new (text);
-  gtk_misc_set_alignment (GTK_MISC (task->label), 0.0, 0.5);
+  gtk_label_set_xalign (GTK_LABEL (task->label), 0.0);
   gtk_label_set_ellipsize (GTK_LABEL (task->label),
                           PANGO_ELLIPSIZE_END);
 


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