Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
local values in hildon_date_editor_size_allocate
+ * src/hildon-date-editor.c: merged the two if() branches together
+
+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: changed the arguments of the if()
conditions
-/*
+/* vim:set sw=4 expandtab cino=(0:
+ *
* This file is a part of hildon
*
* Copyright (C) 2005, 2006 Nokia Corporation, all rights reserved.
f_alloc.x = img_alloc.x = allocation->x +
MAX (allocation->width - max_req.width, 0) / 2;
- /* allocate frame */
+ /* calculate allocations */
if (GTK_WIDGET_VISIBLE (widget)) {
+ /* allocate frame */
gtk_widget_get_child_requisition (priv->frame, &req);
f_alloc.width = req.width;
f_alloc.height = max_req.height;
- }
- /* allocate icon */
- if (GTK_WIDGET_VISIBLE (widget)) {
+ /* allocate icon */
gtk_widget_get_child_requisition (priv->d_button_image,
&req);