diff options
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/ChangeLog | 10 | ||||
-rw-r--r-- | calendar/gui/e-day-view.c | 4 | ||||
-rw-r--r-- | calendar/gui/e-week-view.c | 2 |
3 files changed, 13 insertions, 3 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 35feb32e26..1bd2c7bf33 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,5 +1,15 @@ 2003-02-26 Hans Petter Jansson <hpj@ximian.com> + Fixes Ximian #37895. + + * gui/e-day-view.c (e_day_view_destroy): g_object_unref () -> + pango_font_description_free (). + (e_day_view_style_set): Ditto. + + * gui/e-week-view.c (e_week_view_destroy): Ditto. + +2003-02-26 Hans Petter Jansson <hpj@ximian.com> + Fixes Ximian #38306. * gui/e-itip-control.c (clean_up): Do nothing if the private structure diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c index e580c04b79..6aab8df592 100644 --- a/calendar/gui/e-day-view.c +++ b/calendar/gui/e-day-view.c @@ -909,7 +909,7 @@ e_day_view_destroy (GtkObject *object) } if (day_view->large_font_desc) { - g_object_unref (day_view->large_font_desc); + pango_font_description_free (day_view->large_font_desc); day_view->large_font_desc = NULL; } @@ -1120,7 +1120,7 @@ e_day_view_style_set (GtkWidget *widget, /* Create the large font. */ if (day_view->large_font_desc != NULL) - g_object_unref (day_view->large_font_desc); + pango_font_description_free (day_view->large_font_desc); day_view->large_font_desc = pango_font_description_copy (gtk_widget_get_style (widget)->font_desc); diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c index a9a0beaadc..ce64a2c8c7 100644 --- a/calendar/gui/e-week-view.c +++ b/calendar/gui/e-week-view.c @@ -492,7 +492,7 @@ e_week_view_destroy (GtkObject *object) } if (week_view->small_font_desc) { - g_object_unref (week_view->small_font_desc); + pango_font_description_free (week_view->small_font_desc); week_view->small_font_desc = NULL; } |