From: Sven Herzberg Date: Mon, 7 Apr 2008 11:33:15 +0000 (+0000) Subject: 2008-04-07 Sven Herzberg X-Git-Tag: 2.1.66-1~754 X-Git-Url: https://vcs.maemo.org/git/?p=hildon;a=commitdiff_plain;h=845b956b44fac7d758eff5b978546d4c567433f2 2008-04-07 Sven Herzberg Prepares: NB#78896: libhildon code inspection/coverity: uninitialised local values in hildon_date_editor_size_allocate * src/hildon-date-editor.c: split the calculation of the allocation from the real allocation --- diff --git a/ChangeLog b/ChangeLog index 68afea1..efdffb9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2008-04-07 Sven Herzberg + + Prepares: NB#78896: libhildon code inspection/coverity: uninitialised + local values in hildon_date_editor_size_allocate + + * src/hildon-date-editor.c: split the calculation of the allocation + from the real allocation + 2008-03-27 Michael Natterer Fixes: NB#81696: The passcode is not overwritten even after diff --git a/src/hildon-date-editor.c b/src/hildon-date-editor.c index 4fa5d7d..f6062a9 100644 --- a/src/hildon-date-editor.c +++ b/src/hildon-date-editor.c @@ -1320,6 +1320,9 @@ hildon_date_editor_size_allocate (GtkWidget *widget, img_alloc.x = f_alloc.x; f_alloc.x += img_alloc.width + HILDON_MARGIN_DEFAULT; } + } + + if (GTK_WIDGET_VISIBLE (priv->d_button_image)) { gtk_widget_size_allocate (priv->d_button_image, &img_alloc); }