[gnome-applets] window-title: avoid deprecated gtk_hbox_new



commit e1edfeb998991d0a31db576f1a87d048ba05de7e
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Thu Apr 2 00:53:24 2020 +0300

    window-title: avoid deprecated gtk_hbox_new

 gnome-applets/window-title/window-title.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnome-applets/window-title/window-title.c b/gnome-applets/window-title/window-title.c
index 75b717601..10c946813 100755
--- a/gnome-applets/window-title/window-title.c
+++ b/gnome-applets/window-title/window-title.c
@@ -715,7 +715,7 @@ init_wtapplet (WTApplet *wtapplet)
        wtapplet->umaxedwindow = getUpperMaximized(wtapplet);
        wtapplet->rootwindow = getRootWindow(wtapplet->activescreen);
        wtapplet->prefbuilder = gtk_builder_new ();
-       wtapplet->box = GTK_BOX(gtk_hbox_new(FALSE, 0));
+       wtapplet->box = GTK_BOX(gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0));
        wtapplet->icon = GTK_IMAGE(gtk_image_new());
        wtapplet->title = GTK_LABEL(gtk_label_new(NULL));
        wtapplet->eb_icon = GTK_EVENT_BOX(gtk_event_box_new());


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