Patch (bug #3050) by Duarte Henriques to prevent closing notifications we don't own.

This commit is contained in:
Christian Hammond 2005-07-27 08:15:33 +00:00
parent 12f74a149c
commit be828ca9ce
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,9 @@
Wed Jul 27 01:13:12 PDT 2005 Christian Hammond <chipx86@chipx86.com>
* libnotify/notify.c:
- Patch (bug #3050) by Duarte Henriques to prevent closing
notifications we don't own.
Wed Jul 27 01:08:56 PDT 2005 Christian Hammond <chipx86@chipx86.com>
* libnotify/notify.c:

View File

@ -412,6 +412,9 @@ notify_close(NotifyHandle *handle)
g_return_if_fail(handle != NULL);
/* Don't close other applications' notifications! */
g_return_if_fail(g_hash_table_lookup(_handles, &handle->id) != NULL);
message = _notify_dbus_message_new("CloseNotification", &iter);
g_return_if_fail(message != NULL);