*
* 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)\
#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
*
* 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)
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),