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:
parent
c037f63ca9
commit
9362dbd6bd
|
@ -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>
|
Sun Nov 05 11:54:10 PST 2006 Christian Hammond <chipx86@chipx86.com>
|
||||||
|
|
||||||
* configure.ac:
|
* configure.ac:
|
||||||
|
|
2
NEWS
2
NEWS
|
@ -1,6 +1,8 @@
|
||||||
version 0.4.4:
|
version 0.4.4:
|
||||||
* Fixed a bug where a notification's ID could be reset when a different
|
* Fixed a bug where a notification's ID could be reset when a different
|
||||||
notification was closed. Patch by jylefort. (Bug #94)
|
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):
|
version 0.4.3 (8-October-2006):
|
||||||
* Fixed the raw image data support to send the correct array type.
|
* Fixed the raw image data support to send the correct array type.
|
||||||
|
|
|
@ -120,6 +120,9 @@ notify_uninit(void)
|
||||||
{
|
{
|
||||||
GList *l;
|
GList *l;
|
||||||
|
|
||||||
|
if (!_initted)
|
||||||
|
return;
|
||||||
|
|
||||||
if (_app_name != NULL)
|
if (_app_name != NULL)
|
||||||
{
|
{
|
||||||
g_free(_app_name);
|
g_free(_app_name);
|
||||||
|
@ -137,6 +140,8 @@ notify_uninit(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
g_object_unref(_proxy);
|
||||||
|
|
||||||
_initted = FALSE;
|
_initted = FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue