aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/goto.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/goto.c
parentda6a42ae382c1fca01cd420fe9ed313f2d4265b1 (diff)
downloadgsoc2013-evolution-f26dcfdb85e35b4630610e57d3e0174281a3975c.tar.gz
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/goto.c')
-rw-r--r--calendar/gui/goto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/goto.c b/calendar/gui/goto.c
index 0e065f63c3..0dd0a3f22e 100644
--- a/calendar/gui/goto.c
+++ b/calendar/gui/goto.c
@@ -207,7 +207,7 @@ create_days (int day, int month, int year)
GnomeCanvasItem *day_group;
canvas = gnome_canvas_new ();
- gnome_canvas_set_size (GNOME_CANVAS (canvas), 150, 120);
+ gtk_widget_set_usize (canvas, 150, 120);
month_item = GNOME_MONTH_ITEM (gnome_month_item_new (gnome_canvas_root (GNOME_CANVAS (canvas))));
gnome_canvas_item_set (GNOME_CANVAS_ITEM (month_item),