[ghex] Use gtk_separator_new() instead gtk_hseparator_new()



commit df3ae632275605579579a8f59e78a7761b5a36d1
Author: Kalev Lember <kalevlember gmail com>
Date:   Sat Feb 18 18:27:24 2012 +0200

    Use gtk_separator_new() instead gtk_hseparator_new()

 src/findreplace.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/findreplace.c b/src/findreplace.c
index b1be1be..96c0d41 100644
--- a/src/findreplace.c
+++ b/src/findreplace.c
@@ -165,7 +165,7 @@ static AdvancedFind_AddDialog *create_advanced_find_add_dialog(AdvancedFindDialo
 	gtk_widget_show(frame);
 	gtk_widget_show(dialog->f_gh);
 
-	sep = gtk_hseparator_new();
+	sep = gtk_separator_new (GTK_ORIENTATION_HORIZONTAL);
 	gtk_box_pack_start(GTK_BOX(gtk_dialog_get_content_area(GTK_DIALOG(dialog->window))), sep,
 					   FALSE, FALSE, 0);
 
@@ -273,7 +273,7 @@ AdvancedFindDialog *create_advanced_find_dialog(GHexWindow *parent)
 	gtk_widget_set_can_default(dialog->f_prev, TRUE);
 	gtk_widget_show(dialog->f_prev);
 
-	sep = gtk_hseparator_new();
+	sep = gtk_separator_new (GTK_ORIENTATION_HORIZONTAL);
 	gtk_box_pack_start(GTK_BOX(dialog->vbox), sep, FALSE, FALSE, 4);
 	gtk_widget_show(sep);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]