diff options
-rw-r--r-- | calendar/ChangeLog | 7 | ||||
-rw-r--r-- | calendar/gui/calendar-component.c | 3 |
2 files changed, 9 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 254d0491d1..7269248373 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,10 @@ +2006-08-07 Srinivasa Ragavan <sragavan@novell.com> + + ** Fix for bug #350267 + + * gui/calendar-component.c: (calcomp_vpane_realized): Fix the + miscalculation becoz of convertion from float to int. + 2006-08-04 Johnny Jacob <jjohnny@novell.com> * gui/cal-search-bar.h : Changed the CAL_SEARCH items mask for 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 |