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.

This commit is contained in:
Christian Hammond 2006-09-04 06:45:34 +00:00
parent ed9bc42c6f
commit fead26f260
3 changed files with 22 additions and 2 deletions

View File

@ -1,3 +1,11 @@
Sun Sep 03 23:44:01 PDT 2006 Christian Hammond <chipx86@chipx86.com>
* 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 <chipx86@chipx86.com>
* libnotify/notification.c:

14
NEWS
View File

@ -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.

View File

@ -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;