diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2007-04-06 03:00:20 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2007-04-06 03:00:20 +0800 |
commit | 17e6770d4df91e0e57ad2c74550f76f65224de73 (patch) | |
tree | f63e2238f7df555d6bb41aaabc775d58e94fea80 /calendar | |
parent | fa589512f1735978017a2681786cb70cf814f6e1 (diff) | |
download | gsoc2013-evolution-17e6770d4df91e0e57ad2c74550f76f65224de73.tar.gz gsoc2013-evolution-17e6770d4df91e0e57ad2c74550f76f65224de73.tar.zst gsoc2013-evolution-17e6770d4df91e0e57ad2c74550f76f65224de73.zip |
Fix a crasher. (#401539)
2007-04-05 Matthew Barnes <mbarnes@redhat.com>
* calendar/gui/print.c (print_calendar): Fix a crasher. (#401539)
svn path=/trunk/; revision=33388
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/ChangeLog | 4 | ||||
-rw-r--r-- | calendar/gui/print.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index ed09628954..7301871189 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,7 @@ +2007-04-05 Matthew Barnes <mbarnes@redhat.com> + + * gui/print.c (print_calendar): Fix a crasher. (#401539) + 2007-04-01 Matthew Barnes <mbarnes@redhat.com> ** Fixes part of bug #373116 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); |