aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@src.gnome.org>2006-08-07 22:44:50 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2006-08-07 22:44:50 +0800
commit07441478f8cd2b666e7f8e3a23f118f29078f806 (patch)
tree00130915787bb473bf979e496fd48ae930cea6d3 /calendar
parent1bc76df23242ffb5a1fa62f8d07ee47b3b4417cd (diff)
downloadgsoc2013-evolution-07441478f8cd2b666e7f8e3a23f118f29078f806.tar
gsoc2013-evolution-07441478f8cd2b666e7f8e3a23f118f29078f806.tar.gz
gsoc2013-evolution-07441478f8cd2b666e7f8e3a23f118f29078f806.tar.bz2
gsoc2013-evolution-07441478f8cd2b666e7f8e3a23f118f29078f806.tar.lz
gsoc2013-evolution-07441478f8cd2b666e7f8e3a23f118f29078f806.tar.xz
gsoc2013-evolution-07441478f8cd2b666e7f8e3a23f118f29078f806.tar.zst
gsoc2013-evolution-07441478f8cd2b666e7f8e3a23f118f29078f806.zip
Fix for bug #350267
svn path=/trunk/; revision=32490
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog7
-rw-r--r--calendar/gui/calendar-component.c3
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