From 07441478f8cd2b666e7f8e3a23f118f29078f806 Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Mon, 7 Aug 2006 14:44:50 +0000 Subject: Fix for bug #350267 svn path=/trunk/; revision=32490 --- calendar/gui/calendar-component.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'calendar/gui') diff --git a/calendar/gui/calendar-component.c b/calendar/gui/calendar-component.c index c125b0a241..c4c48f22fb 100644 --- a/calendar/gui/calendar-component.c +++ b/calendar/gui/calendar-component.c @@ -134,7 +134,8 @@ extern ECompEditorRegistry *comp_editor_registry; static void calcomp_vpane_realized (GtkWidget *vpane, CalendarComponentView *view) { - gtk_paned_set_position (GTK_PANED (vpane), view->vpane_pos*vpane->allocation.height); + gtk_paned_set_position (GTK_PANED (vpane), (int)(view->vpane_pos*vpane->allocation.height)); + } static gboolean -- cgit