[gedit] panel: use the right property



commit 8033c19d2c89e1364861c42879d1aa300963aed7
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Sun Jun 12 21:53:00 2011 +0200

    panel: use the right property

 gedit/gedit-panel.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gedit/gedit-panel.c b/gedit/gedit-panel.c
index 5e58b2e..92c7529 100644
--- a/gedit/gedit-panel.c
+++ b/gedit/gedit-panel.c
@@ -387,8 +387,8 @@ gedit_panel_init (GeditPanel *panel)
 {
 	panel->priv = GEDIT_PANEL_GET_PRIVATE (panel);
 
-  gtk_orientable_set_orientation (GTK_ORIENTABLE (panel),
-                                  GTK_ORIENTATION_VERTICAL);
+	gtk_orientable_set_orientation (GTK_ORIENTABLE (panel),
+	                                GTK_ORIENTATION_VERTICAL);
 }
 
 static void
@@ -582,7 +582,7 @@ GtkWidget *
 gedit_panel_new (GtkOrientation orientation)
 {
 	return GTK_WIDGET (g_object_new (GEDIT_TYPE_PANEL,
-					 "orientation", orientation,
+					 "panel-orientation", orientation,
 					 NULL));
 }
 



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