From 17e6770d4df91e0e57ad2c74550f76f65224de73 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Thu, 5 Apr 2007 19:00:20 +0000 Subject: Fix a crasher. (#401539) 2007-04-05 Matthew Barnes * calendar/gui/print.c (print_calendar): Fix a crasher. (#401539) svn path=/trunk/; revision=33388 --- calendar/gui/print.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'calendar/gui') diff --git a/calendar/gui/print.c b/calendar/gui/print.c index 50ef236ac0..fafa4db632 100644 --- a/calendar/gui/print.c +++ b/calendar/gui/print.c @@ -2647,11 +2647,11 @@ print_calendar (GnomeCalendar *gcal, gboolean preview, time_t date, paper_size = gtk_paper_size_new ("iso_a4"); page_setup = gtk_page_setup_new(); gtk_page_setup_set_paper_size(page_setup, paper_size); - range = range_selector_new (gpd, date, &view); settings = gtk_print_settings_new (); settings = e_print_load_settings (); gpd = e_print_get_dialog_with_config (_("Print Item"), 0, settings); + range = range_selector_new (gpd, date, &view); t = gtk_paper_size_get_default_top_margin (paper_size, GTK_UNIT_POINTS); r = gtk_paper_size_get_default_right_margin (paper_size, GTK_UNIT_POINTS); -- cgit