[Xfce4-commits] [panel-plugins/xfce4-wavelan-plugin] 07/09: Use gtk_dialog_get_content_area() instead of poking at GtkDialog internals to get access to the vbox

noreply at xfce.org noreply at xfce.org
Sun May 1 18:06:20 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-wavelan-plugin.

commit f3b34b0aea2a11f9615d1473f5055e9bff7c3303
Author: Landry Breuil <landry at xfce.org>
Date:   Sun May 1 18:03:11 2016 +0200

    Use gtk_dialog_get_content_area() instead of poking at GtkDialog internals to get access to the vbox
---
 panel-plugin/wavelan.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/panel-plugin/wavelan.c b/panel-plugin/wavelan.c
index eb4bf1d..d3c1a04 100644
--- a/panel-plugin/wavelan.c
+++ b/panel-plugin/wavelan.c
@@ -510,7 +510,7 @@ wavelan_create_options (XfcePanelPlugin *plugin, t_wavelan *wavelan)
   vbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 8);
   gtk_container_set_border_width (GTK_CONTAINER (vbox), 6);
   gtk_widget_show(vbox);
-  gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dlg)->vbox), vbox,
+  gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area(GTK_DIALOG (dlg))), vbox,
                       TRUE, TRUE, 0);
   
   hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 8);

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


More information about the Xfce4-commits mailing list