[Xfce4-commits] [panel-plugins/xfce4-battery-plugin] 13/15: Use gtk_dialog_get_content_area instead of directly accessing private vbox member
noreply at xfce.org
noreply at xfce.org
Sun May 29 08:36:58 CEST 2016
This is an automated email from the git hooks/post-receive script.
andrzejr pushed a commit to branch master
in repository panel-plugins/xfce4-battery-plugin.
commit 4bbb20d76f5ae627f27be62ecd91ec64271230fa
Author: Andre Miranda <andre42m at gmail.com>
Date: Sat May 28 14:40:49 2016 -0300
Use gtk_dialog_get_content_area instead of directly accessing private vbox member
---
panel-plugin/battery.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/panel-plugin/battery.c b/panel-plugin/battery.c
index f34ab87..32fa465 100644
--- a/panel-plugin/battery.c
+++ b/panel-plugin/battery.c
@@ -1328,8 +1328,8 @@ battmon_create_options(XfcePanelPlugin *plugin, t_battmon *battmon)
notebook = gtk_notebook_new ();
gtk_widget_show (notebook);
- gtk_box_pack_start (GTK_BOX (GTK_DIALOG(dlg)->vbox), GTK_WIDGET(notebook),
gtk_container_set_border_width (GTK_CONTAINER(notebook), BORDER);
+ gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area(GTK_DIALOG(dlg))), GTK_WIDGET(notebook),
TRUE, TRUE, 0);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list