[libwnck] tasklist: Stop using deprecated gtk_hbox_new()



commit 4c0a97437bc7e7a7c875809b82c8d31ca39b54fd
Author: Vincent Untz <vuntz gnome org>
Date:   Fri Aug 12 12:50:43 2011 +0200

    tasklist: Stop using deprecated gtk_hbox_new()

 libwnck/tasklist.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libwnck/tasklist.c b/libwnck/tasklist.c
index 3d9aae5..b3f5755 100644
--- a/libwnck/tasklist.c
+++ b/libwnck/tasklist.c
@@ -3676,7 +3676,7 @@ wnck_task_create_widgets (WnckTask *task, GtkReliefStyle relief)
     gtk_drag_dest_set (GTK_WIDGET (task->button), 0,
                        NULL, 0, GDK_ACTION_DEFAULT);
 
-  hbox = gtk_hbox_new (FALSE, 0);
+  hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
 
   pixbuf = wnck_task_get_icon (task);
   if (pixbuf)



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