2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
[hildon] / src / hildon-controlbar.c
index 4fc5686..15b8e00 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Copyright (C) 2005, 2006 Nokia Corporation, all rights reserved.
  *
- * Contact: Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
+ * Contact: Rodrigo Novo <rodrigo.novo@nokia.com>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public License
  * 
  */
 
+#undef                                          HILDON_DISABLE_DEPRECATED
+
 #ifdef                                          HAVE_CONFIG_H
 #include                                        <config.h>
 #endif
 
-#include                                        "hildon-controlbar.h"
 #include                                        <math.h>
+#include                                        <libintl.h>
 #include                                        <gdk/gdk.h>
 #include                                        <gdk/gdkkeysyms.h>
-#include                                        <gtk/gtk.h>
-#include                                        <libintl.h>
+
+#include                                        "hildon-controlbar.h"
 #include                                        "hildon-controlbar-private.h"
 
 #define                                         _(string)\
@@ -59,9 +61,9 @@
 
 #define                                         DEFAULT_WIDTH 234
 
-#define                                         DEFAULT_HEIGHT 30
+#define                                         DEFAULT_HEIGHT 60
 
-#define                                         DEFAULT_BORDER_WIDTH 2
+#define                                         DEFAULT_BORDER_WIDTH 0
 
 #define                                         HILDON_CONTROLBAR_STEP_INCREMENT 1
 
@@ -154,7 +156,7 @@ hildon_controlbar_change_value                  (GtkRange *range,
  *
  * Initializes and returns the type of a hildon control bar.
  *
- * @Returns: GType of #HildonControlbar
+ * Returns: GType of #HildonControlbar
  */
 GType G_GNUC_CONST
 hildon_controlbar_get_type                      (void)
@@ -273,8 +275,6 @@ hildon_controlbar_init                          (HildonControlbar *controlbar)
     priv->old_value = 0;
     range = GTK_RANGE (controlbar);
 
-    range->has_stepper_a = TRUE;
-    range->has_stepper_d = TRUE;
     range->round_digits = -1;
 
     gtk_widget_set_size_request (GTK_WIDGET (controlbar),