[gnome-applets] window-buttons: don't use deprecated gtk_hbox_new



commit 37a0ed39ba80de564697431a6e27055e86ce0ad8
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Tue Mar 28 13:49:23 2017 +0300

    window-buttons: don't use deprecated gtk_hbox_new

 window-buttons/windowbuttons.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/window-buttons/windowbuttons.c b/window-buttons/windowbuttons.c
index cd56ea4..d97e0da 100755
--- a/window-buttons/windowbuttons.c
+++ b/window-buttons/windowbuttons.c
@@ -642,7 +642,7 @@ static void init_wbapplet(PanelApplet *applet) {
        wbapplet->umaxedwindow = getUpperMaximized(wbapplet);
        wbapplet->rootwindow = getRootWindow(wbapplet->activescreen);
        wbapplet->prefbuilder = gtk_builder_new();
-       wbapplet->box = GTK_BOX(gtk_hbox_new(FALSE, 0));
+       wbapplet->box = GTK_BOX(gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 0));
        wbapplet->button = createButtons(wbapplet);
        wbapplet->orient = panel_applet_get_orient(wbapplet->applet);
        wbapplet->pixbufs = getPixbufs(wbapplet->prefs->images);


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