[gtk+] Revert "spinbutton: center-align by default"



commit cae7b937291799f4f4fa985529016ffd1c853bf5
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Fri Mar 4 11:12:32 2011 -0500

    Revert "spinbutton: center-align by default"
    
    This reverts commit 64ef11985bb11de3e1369cfa3d187d274096cf6e.

 gtk/gtkspinbutton.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkspinbutton.c b/gtk/gtkspinbutton.c
index b852b6c..3d08753 100644
--- a/gtk/gtkspinbutton.c
+++ b/gtk/gtkspinbutton.c
@@ -637,8 +637,6 @@ gtk_spin_button_init (GtkSpinButton *spin_button)
   gtk_spin_button_set_adjustment (spin_button,
                                   gtk_adjustment_new (0, 0, 0, 0, 0, 0));
 
-  gtk_entry_set_alignment (GTK_ENTRY (spin_button), 0.5);
-
   context = gtk_widget_get_style_context (GTK_WIDGET (spin_button));
   gtk_style_context_add_class (context, GTK_STYLE_CLASS_SPINBUTTON);
 }



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