projects
/
hildon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2009-03-06 Alberto Garcia <agarcia@igalia.com>
[hildon]
/
src
/
hildon-range-editor.c
diff --git
a/src/hildon-range-editor.c
b/src/hildon-range-editor.c
index
0915007
..
690ae7e
100644
(file)
--- a/
src/hildon-range-editor.c
+++ b/
src/hildon-range-editor.c
@@
-3,7
+3,7
@@
*
* Copyright (C) 2005, 2006 Nokia Corporation, all rights reserved.
*
*
* 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
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
@@
-39,6
+39,8
@@
* </example>
*/
* </example>
*/
+#undef HILDON_DISABLE_DEPRECATED
+
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
@@
-667,7
+669,9
@@
hildon_range_editor_size_allocate (GtkWidget *widget,
GtkAllocation *allocation)
{
HildonRangeEditorPrivate *priv;
GtkAllocation *allocation)
{
HildonRangeEditorPrivate *priv;
- GtkAllocation child1_allocation, child2_allocation, child3_allocation;
+ GtkAllocation child1_allocation = {0};
+ GtkAllocation child2_allocation = {0};
+ GtkAllocation child3_allocation = {0};
priv = HILDON_RANGE_EDITOR_GET_PRIVATE (widget);
g_assert (priv);
priv = HILDON_RANGE_EDITOR_GET_PRIVATE (widget);
g_assert (priv);
@@
-800,7
+804,7
@@
hildon_range_editor_refresh_widths (HildonRangeEditorPrivate *priv)
*
* Initializes, and returns the type of a hildon range editor.
*
*
* Initializes, and returns the type of a hildon range editor.
*
- * @Returns : GType of #HildonRangeEditor
+ * Returns: GType of #HildonRangeEditor
*
*/
GType G_GNUC_CONST
*
*/
GType G_GNUC_CONST
@@
-894,10
+898,7
@@
hildon_range_editor_get_range (HildonRangeEditor *editor,
gint *start,
gint *end)
{
gint *start,
gint *end)
{
- HildonRangeEditorPrivate *priv;
-
g_return_if_fail (HILDON_IS_RANGE_EDITOR (editor) && start && end);
g_return_if_fail (HILDON_IS_RANGE_EDITOR (editor) && start && end);
- priv = HILDON_RANGE_EDITOR_GET_PRIVATE (editor);
*start = hildon_range_editor_get_lower (editor);
*end = hildon_range_editor_get_higher (editor);
*start = hildon_range_editor_get_lower (editor);
*end = hildon_range_editor_get_higher (editor);