From 57dd8187b81810190f82ffd19a6a815ddef7d204 Mon Sep 17 00:00:00 2001 From: Rodrigo Moya Date: Mon, 28 Feb 2005 23:38:48 +0000 Subject: Fixes #72928 2005-02-28 Rodrigo Moya Fixes #72928 * gui/alarm-notify/notify-main.c (main): don't call alarm_queue_done... * gui/alarm-notify/alarm-notify.c (alarm_notify_finalize): ...do it at the same level than alarm_queue_init. svn path=/trunk/; revision=28922 --- calendar/gui/alarm-notify/alarm-notify.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'calendar/gui/alarm-notify/alarm-notify.c') diff --git a/calendar/gui/alarm-notify/alarm-notify.c b/calendar/gui/alarm-notify/alarm-notify.c index f37ccad139..31864ec9eb 100644 --- a/calendar/gui/alarm-notify/alarm-notify.c +++ b/calendar/gui/alarm-notify/alarm-notify.c @@ -57,8 +57,8 @@ static BonoboObjectClass *parent_class; BONOBO_TYPE_FUNC_FULL(AlarmNotify, GNOME_Evolution_Calendar_AlarmNotify, BONOBO_TYPE_OBJECT, alarm_notify) - /* Class initialization function for the alarm notify service */ - static void +/* Class initialization function for the alarm notify service */ +static void alarm_notify_class_init (AlarmNotifyClass *klass) { GObjectClass *object_class; @@ -261,7 +261,9 @@ alarm_notify_finalize (GObject *object) g_hash_table_foreach (priv->uri_client_hash[i], dequeue_client, NULL); g_hash_table_destroy (priv->uri_client_hash[i]); } - + + alarm_queue_done (); + g_mutex_free (priv->mutex); g_free (priv); -- cgit v1.2.3