[Xfce4-commits] [panel-plugins/xfce4-smartbookmark-plugin] 10/11: Use gtk_dialog_get_content_area() instead of adding an intermediate useless GtkVBox
noreply at xfce.org
noreply at xfce.org
Thu Apr 28 11:51:08 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-smartbookmark-plugin.
commit f1062268ad1fc644d4d8d87a4d7fdf535a85337b
Author: Landry Breuil <landry at xfce.org>
Date: Thu Apr 28 11:47:18 2016 +0200
Use gtk_dialog_get_content_area() instead of adding an intermediate useless GtkVBox
We cant access the vbox private member anyway.
---
src/smartbookmark.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/smartbookmark.c b/src/smartbookmark.c
index 9e6d4da..b466a06 100644
--- a/src/smartbookmark.c
+++ b/src/smartbookmark.c
@@ -264,9 +264,7 @@ static void search_create_options(XfcePanelPlugin *plugin, t_search *search)
gtk_container_set_border_width(GTK_CONTAINER (search->opt_dialog), 2);
- vbox = gtk_vbox_new(FALSE, 0);
- gtk_widget_show(vbox);
- gtk_container_add(GTK_CONTAINER(GTK_DIALOG(search->opt_dialog)->vbox), vbox);
+ vbox = gtk_dialog_get_content_area (GTK_DIALOG(search->opt_dialog));
DBG ("Creating hbox");
hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 0);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list