aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/year-view.c
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@nuclecu.unam.mx>1998-12-15 08:23:25 +0800
committerArturo Espinosa <unammx@src.gnome.org>1998-12-15 08:23:25 +0800
commitf26dcfdb85e35b4630610e57d3e0174281a3975c (patch)
tree496da1f315c7608ace0ae3b118f9073214a40d96 /calendar/gui/year-view.c
parentda6a42ae382c1fca01cd420fe9ed313f2d4265b1 (diff)
downloadgsoc2013-evolution-f26dcfdb85e35b4630610e57d3e0174281a3975c.tar
gsoc2013-evolution-f26dcfdb85e35b4630610e57d3e0174281a3975c.tar.gz
gsoc2013-evolution-f26dcfdb85e35b4630610e57d3e0174281a3975c.tar.bz2
gsoc2013-evolution-f26dcfdb85e35b4630610e57d3e0174281a3975c.tar.lz
gsoc2013-evolution-f26dcfdb85e35b4630610e57d3e0174281a3975c.tar.xz
gsoc2013-evolution-f26dcfdb85e35b4630610e57d3e0174281a3975c.tar.zst
gsoc2013-evolution-f26dcfdb85e35b4630610e57d3e0174281a3975c.zip
Use the allocation size instead of the old fields in the canvas structure.
1998-12-14 Federico Mena Quintero <federico@nuclecu.unam.mx> * year-view.c (idle_handler): Use the allocation size instead of the old fields in the canvas structure. svn path=/trunk/; revision=523
Diffstat (limited to 'calendar/gui/year-view.c')
-rw-r--r--calendar/gui/year-view.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/calendar/gui/year-view.c b/calendar/gui/year-view.c
index 31d0d5c9e2..786270bea3 100644
--- a/calendar/gui/year-view.c
+++ b/calendar/gui/year-view.c
@@ -106,8 +106,8 @@ idle_handler (gpointer data)
/* Space for the titles and months */
- width = yv->canvas.width;
- height = yv->canvas.height - head_height;
+ width = GTK_WIDGET (yv)->allocation.width;
+ height = GTK_WIDGET (yv)->allocation.height - head_height;
/* Offsets */