[Xfce4-commits] [panel-plugins/xfce4-diskperf-plugin] 14/16: Use gtk_dialog_get_content_area() instead of directly accessing the private vbox member
noreply at xfce.org
noreply at xfce.org
Thu Apr 28 18:10:14 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 340ddca15630c2d1cc17ca231d62335a720fc7ed
Author: Landry Breuil <landry at xfce.org>
Date: Thu Apr 28 18:07:14 2016 +0200
Use gtk_dialog_get_content_area() instead of directly accessing the private vbox member
---
panel-plugin/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/panel-plugin/main.c b/panel-plugin/main.c
index 91c5009..b7d665a 100644
--- a/panel-plugin/main.c
+++ b/panel-plugin/main.c
@@ -960,7 +960,7 @@ static void diskperf_create_options (XfcePanelPlugin *plugin,
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,
+ 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