Patch by Giacomo Lozito to fix a problem where the dbus proxy was not being freed on notify_uninit, which led to problems when libnotify was used in a loadable module. This fixes bug #92.

This commit is contained in:
Christian Hammond 2006-11-05 20:07:37 +00:00
parent c037f63ca9
commit 9362dbd6bd
3 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,10 @@
Sun Nov 05 12:06:01 PST 2006 Christian Hammond <chipx86@chipx86.com>
* libnotify/notify.c:
- Patch by Giacomo Lozito to fix a problem where the dbus proxy was
not being freed on notify_uninit, which led to problems when libnotify
was used in a loadable module. This fixes bug #92.
Sun Nov 05 11:54:10 PST 2006 Christian Hammond <chipx86@chipx86.com>
* configure.ac:

2
NEWS
View File

@ -1,6 +1,8 @@
version 0.4.4:
* Fixed a bug where a notification's ID could be reset when a different
notification was closed. Patch by jylefort. (Bug #94)
* Fixed a crash when the D-BUS proxy was not being freed on notify_uninit,
which was problematic when used in a loadable module. (Bug #92)
version 0.4.3 (8-October-2006):
* Fixed the raw image data support to send the correct array type.

View File

@ -120,6 +120,9 @@ notify_uninit(void)
{
GList *l;
if (!_initted)
return;
if (_app_name != NULL)
{
g_free(_app_name);
@ -137,6 +140,8 @@ notify_uninit(void)
}
}
g_object_unref(_proxy);
_initted = FALSE;
}