diff options
author | Hans Petter Jansson <hpj@ximian.com> | 2003-02-27 06:20:08 +0800 |
---|---|---|
committer | Hans Petter <hansp@src.gnome.org> | 2003-02-27 06:20:08 +0800 |
commit | b91b7c9a0bfb4f2dd358cc1bd6a635ef72cf1768 (patch) | |
tree | 00258616ece59415ddb5c732dba1d24deea8f72f | |
parent | 34bd7b09846f80dd879dc554b7c79e0512a7d1a8 (diff) | |
download | gsoc2013-evolution-b91b7c9a0bfb4f2dd358cc1bd6a635ef72cf1768.tar gsoc2013-evolution-b91b7c9a0bfb4f2dd358cc1bd6a635ef72cf1768.tar.gz gsoc2013-evolution-b91b7c9a0bfb4f2dd358cc1bd6a635ef72cf1768.tar.bz2 gsoc2013-evolution-b91b7c9a0bfb4f2dd358cc1bd6a635ef72cf1768.tar.lz gsoc2013-evolution-b91b7c9a0bfb4f2dd358cc1bd6a635ef72cf1768.tar.xz 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
-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; } |