diff options
author | Rodrigo Moya <rodrigo@novell.com> | 2005-03-01 07:38:48 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2005-03-01 07:38:48 +0800 |
commit | 57dd8187b81810190f82ffd19a6a815ddef7d204 (patch) | |
tree | 8c7e31ee961c6498a0369386e49412cc94de7bd8 | |
parent | 75582dbc74009ba4ac7339d504b5ecdb2b29db0b (diff) | |
download | gsoc2013-evolution-57dd8187b81810190f82ffd19a6a815ddef7d204.tar gsoc2013-evolution-57dd8187b81810190f82ffd19a6a815ddef7d204.tar.gz gsoc2013-evolution-57dd8187b81810190f82ffd19a6a815ddef7d204.tar.bz2 gsoc2013-evolution-57dd8187b81810190f82ffd19a6a815ddef7d204.tar.lz gsoc2013-evolution-57dd8187b81810190f82ffd19a6a815ddef7d204.tar.xz gsoc2013-evolution-57dd8187b81810190f82ffd19a6a815ddef7d204.tar.zst gsoc2013-evolution-57dd8187b81810190f82ffd19a6a815ddef7d204.zip |
Fixes #72928
2005-02-28 Rodrigo Moya <rodrigo@novell.com>
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
-rw-r--r-- | calendar/ChangeLog | 9 | ||||
-rw-r--r-- | calendar/gui/alarm-notify/alarm-notify.c | 8 | ||||
-rw-r--r-- | calendar/gui/alarm-notify/notify-main.c | 5 |
3 files changed, 16 insertions, 6 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index f4cc95776a..0e6181fda3 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,12 @@ +2005-02-28 Rodrigo Moya <rodrigo@novell.com> + + 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. + 2005-02-28 JP Rosevear <jpr@novell.com> * gui/gnome-cal.c (gnome_calendar_goto_today): revert fix for 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); diff --git a/calendar/gui/alarm-notify/notify-main.c b/calendar/gui/alarm-notify/notify-main.c index c679ad41e5..1032f5b42b 100644 --- a/calendar/gui/alarm-notify/notify-main.c +++ b/calendar/gui/alarm-notify/notify-main.c @@ -158,12 +158,11 @@ main (int argc, char **argv) bonobo_object_unref (BONOBO_OBJECT (factory)); factory = NULL; - alarm_queue_done (); - alarm_done (); - if (alarm_notify_service) bonobo_object_unref (BONOBO_OBJECT (alarm_notify_service)); + alarm_done (); + e_passwords_shutdown (); gnome_sound_shutdown (); |