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
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@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
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;
}
/* 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);