[Xfce4-commits] [apps/xfce4-dict] 20/43: Drop alignment and replace gtk_vseparator_new by gtk_separator_new

noreply at xfce.org noreply at xfce.org
Tue Nov 1 00:31:33 CET 2016


This is an automated email from the git hooks/post-receive script.

andre pushed a commit to branch master
in repository apps/xfce4-dict.

commit ec3535c8e1a9336e646d73a109b6742e50e0f621
Author: Andre Miranda <andre42m at gmail.com>
Date:   Wed Jul 20 23:13:13 2016 -0300

    Drop alignment and replace gtk_vseparator_new by gtk_separator_new
---
 lib/gui.c | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)

diff --git a/lib/gui.c b/lib/gui.c
index f884cab..afb125a 100644
--- a/lib/gui.c
+++ b/lib/gui.c
@@ -793,14 +793,7 @@ void dict_gui_create_main_window(DictData *dd)
 
 	update_search_button(dd, entry_box);
 
-	/* just make some space */
-	align = gtk_alignment_new(1, 0.5, 0, 0);
-	gtk_alignment_set_padding(GTK_ALIGNMENT(align), 0, 0, 10, 0);
-	gtk_widget_show(align);
-	gtk_container_add(GTK_CONTAINER(align), gtk_label_new(""));
-	gtk_box_pack_start(GTK_BOX(entry_box), align, FALSE, FALSE, 5);
-
-	sep = gtk_vseparator_new();
+	sep = gtk_separator_new(GTK_ORIENTATION_VERTICAL);
 	gtk_widget_show(sep);
 	gtk_box_pack_start(GTK_BOX(entry_box), sep, FALSE, FALSE, 2);
 
@@ -811,7 +804,7 @@ void dict_gui_create_main_window(DictData *dd)
 	gtk_widget_show(button);
 	gtk_box_pack_start(GTK_BOX(entry_box), button, FALSE, FALSE, 2);
 
-	sep = gtk_vseparator_new();
+	sep = gtk_separator_new(GTK_ORIENTATION_VERTICAL);
 	gtk_widget_show(sep);
 	gtk_box_pack_start(GTK_BOX(entry_box), sep, FALSE, FALSE, 2);
 

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


More information about the Xfce4-commits mailing list