2009-03-06 Alberto Garcia <agarcia@igalia.com>
[hildon] / src / hildon-range-editor.c
index 13ec2f9..690ae7e 100644 (file)
@@ -669,7 +669,9 @@ hildon_range_editor_size_allocate               (GtkWidget *widget,
                                                  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);
@@ -802,7 +804,7 @@ hildon_range_editor_refresh_widths              (HildonRangeEditorPrivate *priv)
  * 
  * Initializes, and returns the type of a hildon range editor.
  * 
- * @Returns : GType of #HildonRangeEditor
+ * Returns: GType of #HildonRangeEditor
  * 
  */
 GType G_GNUC_CONST
@@ -896,10 +898,7 @@ hildon_range_editor_get_range                   (HildonRangeEditor *editor,
                                                  gint *start,
                                                  gint *end)
 {
-    HildonRangeEditorPrivate *priv;
-
     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);