[Xfce4-commits] [panel-plugins/xfce4-diskperf-plugin] 10/16: Use GtkBox instead of XfceHVBox/GtkVBox

noreply at xfce.org noreply at xfce.org
Thu Apr 28 18:10:10 CEST 2016


This is an automated email from the git hooks/post-receive script.

landry pushed a commit to branch master
in repository panel-plugins/xfce4-diskperf-plugin.

commit ec6b3acd0997b401d11ae0dd6182fb8d595a6fe5
Author: Landry Breuil <landry at xfce.org>
Date:   Thu Apr 28 18:05:08 2016 +0200

    Use GtkBox instead of XfceHVBox/GtkVBox
---
 panel-plugin/main.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/panel-plugin/main.c b/panel-plugin/main.c
index a8b4d32..174e0e7 100644
--- a/panel-plugin/main.c
+++ b/panel-plugin/main.c
@@ -387,7 +387,7 @@ static int CreateMonitorBars (struct diskperf_t *p_poPlugin,
     Widget_t       *pwBar;
     int             i;
 
-    poMonitor->wBox = xfce_hvbox_new (p_iOrientation, FALSE, 0);
+    poMonitor->wBox = gtk_box_new (p_iOrientation, 0);
     gtk_widget_show (poMonitor->wBox);
 
     gtk_container_add (GTK_CONTAINER (poMonitor->wEventBox),
@@ -961,7 +961,7 @@ static void diskperf_create_options (XfcePanelPlugin *plugin,
     gtk_window_set_position (GTK_WINDOW (dlg), GTK_WIN_POS_CENTER);
     gtk_window_set_icon_name (GTK_WINDOW (dlg), "drive-harddisk");
     
-    vbox = gtk_vbox_new(FALSE, BORDER);
+    vbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, BORDER);
     gtk_container_set_border_width (GTK_CONTAINER (vbox), BORDER - 2);
     gtk_widget_show(vbox);
     gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dlg)->vbox), vbox,

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list