aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-day-view.c
diff options
context:
space:
mode:
authorHans Petter Jansson <hpj@ximian.com>2003-02-27 06:20:08 +0800
committerHans Petter <hansp@src.gnome.org>2003-02-27 06:20:08 +0800
commitb91b7c9a0bfb4f2dd358cc1bd6a635ef72cf1768 (patch)
tree00258616ece59415ddb5c732dba1d24deea8f72f /calendar/gui/e-day-view.c
parent34bd7b09846f80dd879dc554b7c79e0512a7d1a8 (diff)
downloadgsoc2013-evolution-b91b7c9a0bfb4f2dd358cc1bd6a635ef72cf1768.tar.gz
gsoc2013-evolution-b91b7c9a0bfb4f2dd358cc1bd6a635ef72cf1768.tar.zst
gsoc2013-evolution-b91b7c9a0bfb4f2dd358cc1bd6a635ef72cf1768.zip
Fixes Ximian #37895.
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. svn path=/trunk/; revision=20078
Diffstat (limited to 'calendar/gui/e-day-view.c')
-rw-r--r--calendar/gui/e-day-view.c4
1 files changed, 2 insertions, 2 deletions
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);