* hildon-widgets/hildon-date-editor.c (hildon_child_forall): cast 'container' (hildon...
authorLuc Pionchon <luc.pionchon@nokia.com>
Thu, 16 Mar 2006 14:44:58 +0000 (14:44 +0000)
committerLuc Pionchon <luc.pionchon@nokia.com>
Thu, 16 Mar 2006 14:44:58 +0000 (14:44 +0000)
ChangeLog
hildon-widgets/hildon-date-editor.c

index 5231ddc..54e3b1f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2006-03-13  Luc Pionchon  <luc.pionchon@nokia.com>
 
+       * hildon-widgets/hildon-date-editor.c
+       (hildon_child_forall): cast 'container'
+       (hildon_date_editor_size_allocate): adjusted height allocation.
+
+
+2006-03-13  Luc Pionchon  <luc.pionchon@nokia.com>
+
        Cleanup calendar popup,
 
        * hildon-widgets/hildon-calendar-popup.c: 
index be88200..9d359bf 100644 (file)
@@ -629,7 +629,7 @@ static void hildon_child_forall(GtkContainer * container,
     HildonDateEditor *editor;
     HildonDateEditorPrivate *priv;
 
-    g_assert(container);
+    g_assert(HILDON_IS_DATE_EDITOR(container));
     g_assert(callback);
 
     editor = HILDON_DATE_EDITOR(container);
@@ -1255,7 +1255,7 @@ static void hildon_date_editor_size_allocate(GtkWidget * widget,
         delim = GTK_WIDGET(iter->data);
         alloc = delim->allocation;
         alloc.height = max_req.height; 
-        alloc.y = priv->d_entry->allocation.y-4;
+        alloc.y = priv->d_entry->allocation.y - 2;
 
         gtk_widget_size_allocate(delim, &alloc);
     }