From fead26f260e3ef06d7515f6aed2a6301d15fece8 Mon Sep 17 00:00:00 2001 From: Christian Hammond Date: Mon, 4 Sep 2006 06:45:34 +0000 Subject: [PATCH] Patch by berndth to stop using g_atexit, as this can fail in the case of a dynamically loaded module. Applications should now call notify_uninit() on exit or on plugin unload. This closes bug #86. --- ChangeLog | 8 ++++++++ NEWS | 14 ++++++++++++++ libnotify/notify.c | 2 -- 3 files changed, 22 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 598de69..780ac70 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +Sun Sep 03 23:44:01 PDT 2006 Christian Hammond + + * libnotify/notify.c: + * NEWS: + - Patch by berndth to stop using g_atexit, as this can fail in the + case of a dynamically loaded module. Applications should now call + notify_uninit() on exit or on plugin unload. This closes bug #86. + Mon Jul 31 19:40:10 PDT 2006 Christian Hammond * libnotify/notification.c: diff --git a/NEWS b/NEWS index c0005c8..58d7728 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,17 @@ +version 0.4.3: + * Fixed the raw image data support to send the correct array type. + Patch by mderezynski. (Bug #68) + * Fixed configure.ac to check for the required version of glib (2.6). + Patch by compnerd. (Bug #69) + * Fixed invalid notification IDs when notify_notification_show() is called + on a notification that had already been closed or had expired. Now, + the notification will receive a new ID. Patch by Ed Catmur. (Bug #78) + * Fixed the property change notification used when setting a GtkStatusIocn. + It was emitting "attach-icon" but should have been emitted "status-icon". + (Bug #81) + * notify_uninit is no longer called automatically at exit. Applications + and libraries should do this manually. Patch by berndth. (Bug #86) + version 0.4.2 (17-June-2006): * Add G_BEGIN_DECLS and G_END_DECLS to notify.h, so that libnotify can be used in C++ applications properly. diff --git a/libnotify/notify.c b/libnotify/notify.c index 2ccdba7..d5dd541 100644 --- a/libnotify/notify.c +++ b/libnotify/notify.c @@ -89,8 +89,6 @@ notify_init(const char *app_name) G_TYPE_UINT, G_TYPE_STRING, G_TYPE_INVALID); - g_atexit(notify_uninit); - _initted = TRUE; return TRUE;