[Xfce4-commits] [panel-plugins/xfce4-genmon-plugin] 06/27: Use GtkBox instead of XfceHVBox/GtkHBox/GtkVBox

noreply at xfce.org noreply at xfce.org
Tue May 31 21:29:49 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-genmon-plugin.

commit 511c7b99ec0fc221292473db3279babac8570ee3
Author: ToZ <toz at localhost.localdomain>
Date:   Sat May 14 11:16:10 2016 -0400

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

diff --git a/panel-plugin/main.c b/panel-plugin/main.c
index c9f6833..41e33af 100644
--- a/panel-plugin/main.c
+++ b/panel-plugin/main.c
@@ -645,11 +645,11 @@ static void genmon_create_options (XfcePanelPlugin *plugin,
 
     xfce_titled_dialog_set_subtitle (XFCE_TITLED_DIALOG (dlg), _("Generic Monitor"));
 
-    vbox = gtk_vbox_new(FALSE, BORDER);
+    vbox = GTK_BOX (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,
-    TRUE, TRUE, 0);
+    gtk_box_pack_start(GTK_BOX (gtk_dialog_get_content_area(GTK_DIALOG(dlg))), vbox, 
+        TRUE, TRUE, 0);
 
     poPlugin->oConf.wTopLevel = dlg;
 

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


More information about the Xfce4-commits mailing list