[nautilus] Use gtk_separator_new() instead gtk_[h|v]separator_new()



commit a2eb813e14be86168173e4f95385934feddf2937
Author: Javier Jardón <jjardon gnome org>
Date:   Thu Nov 11 01:29:22 2010 +0100

    Use gtk_separator_new() instead gtk_[h|v]separator_new()

 libnautilus-private/nautilus-column-chooser.c |    2 +-
 src/file-manager/fm-properties-window.c       |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libnautilus-private/nautilus-column-chooser.c b/libnautilus-private/nautilus-column-chooser.c
index 12e1b01..3504661 100644
--- a/libnautilus-private/nautilus-column-chooser.c
+++ b/libnautilus-private/nautilus-column-chooser.c
@@ -384,7 +384,7 @@ add_buttons (NautilusColumnChooser *chooser)
 	gtk_box_pack_start (GTK_BOX (box), chooser->details->move_down_button,
 			    FALSE, FALSE, 0);
 
-	separator = gtk_hseparator_new ();
+	separator = gtk_separator_new (GTK_ORIENTATION_HORIZONTAL);
 	gtk_widget_show (separator);
 	gtk_box_pack_start (GTK_BOX (box), separator, FALSE, FALSE, 0);	
 
diff --git a/src/file-manager/fm-properties-window.c b/src/file-manager/fm-properties-window.c
index 2469e26..4a282ac 100644
--- a/src/file-manager/fm-properties-window.c
+++ b/src/file-manager/fm-properties-window.c
@@ -353,7 +353,7 @@ add_prompt_and_separator (GtkVBox *vbox, const char *prompt_text)
 
 	add_prompt (vbox, prompt_text, FALSE);
 
- 	separator_line = gtk_hseparator_new ();
+	separator_line = gtk_separator_new (GTK_ORIENTATION_HORIZONTAL);
   	gtk_widget_show (separator_line);
   	gtk_box_pack_end (GTK_BOX (vbox), separator_line, TRUE, TRUE, 2*ROW_PAD);
 }



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