X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fhildon-range-editor.c;h=690ae7ed6618a791c7bbbd1471170a4869cd9b05;hb=e3a8bb2cb36fb7ee162c1e57333b7a77a8c15e70;hp=804b9fce0de10618d0f4915abd689e916e783f75;hpb=e456b5a8a0ab8e72007c99f6e7d50fda31757f5f;p=hildon diff --git a/src/hildon-range-editor.c b/src/hildon-range-editor.c index 804b9fc..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); @@ -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);