From b91b7c9a0bfb4f2dd358cc1bd6a635ef72cf1768 Mon Sep 17 00:00:00 2001 From: Hans Petter Jansson Date: Wed, 26 Feb 2003 22:20:08 +0000 Subject: Fixes Ximian #37895. 2003-02-26 Hans Petter Jansson 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. svn path=/trunk/; revision=20078 --- calendar/gui/e-day-view.c | 4 ++-- calendar/gui/e-week-view.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'calendar/gui') 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; } -- cgit