X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fhildon-range-editor.c;h=690ae7ed6618a791c7bbbd1471170a4869cd9b05;hb=9e85b8840c98eee4c79882c17ebcf3e4ad7248d1;hp=13ec2f9ad8843cc4068ee0fa47fe7cbcb39ecc98;hpb=09f085ad8cf7e70e78618357d01e240f15f4278a;p=hildon diff --git a/src/hildon-range-editor.c b/src/hildon-range-editor.c index 13ec2f9..690ae7e 100644 --- a/src/hildon-range-editor.c +++ b/src/hildon-range-editor.c @@ -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);