[Xfce4-commits] [panel-plugins/xfce4-diskperf-plugin] 07/16: Use GtkBox instead of GtkHBox

noreply at xfce.org noreply at xfce.org
Thu Apr 28 18:10:07 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 c66ecfc05d76d766bc571892be53d566c7fa1ed6
Author: Landry Breuil <landry at xfce.org>
Date:   Thu Apr 28 18:01:06 2016 +0200

    Use GtkBox instead of GtkHBox
---
 panel-plugin/config_gui.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/panel-plugin/config_gui.c b/panel-plugin/config_gui.c
index 33ff098..36eb375 100644
--- a/panel-plugin/config_gui.c
+++ b/panel-plugin/config_gui.c
@@ -149,7 +149,7 @@ int CreateConfigGUI (GtkWidget * vbox1, struct gui_t *p_poGUI)
     gtk_widget_show (hseparator7);
     gtk_box_pack_start (GTK_BOX (vbox1), hseparator7, TRUE, TRUE, 0);
 
-    hbox2 = gtk_hbox_new (FALSE, 8);
+    hbox2 = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 8);
     gtk_widget_show (hbox2);
     gtk_box_pack_start (GTK_BOX (vbox1), hbox2, TRUE, TRUE, 0);
 
@@ -176,7 +176,7 @@ int CreateConfigGUI (GtkWidget * vbox1, struct gui_t *p_poGUI)
     wRB_IO_group =
 	gtk_radio_button_get_group (GTK_RADIO_BUTTON (wRB_BusyTime));
 
-    wHBox_MaxIO = gtk_hbox_new (FALSE, 0);
+    wHBox_MaxIO = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
     gtk_widget_show (wHBox_MaxIO);
     gtk_box_pack_start (GTK_BOX (vbox1), wHBox_MaxIO, TRUE, TRUE, 0);
 
@@ -246,7 +246,7 @@ int CreateConfigGUI (GtkWidget * vbox1, struct gui_t *p_poGUI)
     gtk_label_set_justify (GTK_LABEL (label8), GTK_JUSTIFY_LEFT);
     gtk_widget_set_valign (GTK_WIDGET (label8), GTK_ALIGN_CENTER);
 
-    hbox1 = gtk_hbox_new (FALSE, 8);
+    hbox1 = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 8);
     gtk_widget_show (hbox1);
     gtk_grid_attach (GTK_GRID (wTa_DualBars), hbox1, 1, 0, 1, 1);
 

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


More information about the Xfce4-commits mailing list