[maemo-commits] [maemo-commits] r15352 - in projects/haf/trunk/hildon-1: . src
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Mon Apr 7 14:33:22 EEST 2008
- Previous message: [maemo-commits] r15351 - in projects/haf/trunk/hildon-1: . src
- Next message: [maemo-commits] r15353 - in projects/haf/trunk/hildon-1: . src
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: herzi Date: 2008-04-07 14:33:19 +0300 (Mon, 07 Apr 2008) New Revision: 15352 Modified: projects/haf/trunk/hildon-1/ChangeLog projects/haf/trunk/hildon-1/src/hildon-date-editor.c Log: 2008-04-07 Sven Herzberg <sven at imendio.com> Prepares: NB#78896: libhildon code inspection/coverity: uninitialised local values in hildon_date_editor_size_allocate * src/hildon-date-editor.c: changed the arguments of the if() conditions Modified: projects/haf/trunk/hildon-1/ChangeLog =================================================================== --- projects/haf/trunk/hildon-1/ChangeLog 2008-04-07 11:33:15 UTC (rev 15351) +++ projects/haf/trunk/hildon-1/ChangeLog 2008-04-07 11:33:19 UTC (rev 15352) @@ -3,6 +3,14 @@ Prepares: NB#78896: libhildon code inspection/coverity: uninitialised local values in hildon_date_editor_size_allocate + * src/hildon-date-editor.c: changed the arguments of the if() + conditions + +2008-04-07 Sven Herzberg <sven at imendio.com> + + 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 Modified: projects/haf/trunk/hildon-1/src/hildon-date-editor.c =================================================================== --- projects/haf/trunk/hildon-1/src/hildon-date-editor.c 2008-04-07 11:33:15 UTC (rev 15351) +++ projects/haf/trunk/hildon-1/src/hildon-date-editor.c 2008-04-07 11:33:19 UTC (rev 15352) @@ -1299,7 +1299,7 @@ MAX (allocation->width - max_req.width, 0) / 2; /* allocate frame */ - if (GTK_WIDGET_VISIBLE (priv->frame)) { + if (GTK_WIDGET_VISIBLE (widget)) { gtk_widget_get_child_requisition (priv->frame, &req); f_alloc.width = req.width; @@ -1307,7 +1307,7 @@ } /* allocate icon */ - if (GTK_WIDGET_VISIBLE (priv->d_button_image)) { + if (GTK_WIDGET_VISIBLE (widget)) { gtk_widget_get_child_requisition (priv->d_button_image, &req);
- Previous message: [maemo-commits] r15351 - in projects/haf/trunk/hildon-1: . src
- Next message: [maemo-commits] r15353 - in projects/haf/trunk/hildon-1: . src
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]