Don't make IDs of 0 bad. They just want to be loved, too.
This commit is contained in:
parent
db56d94133
commit
62c4728327
|
@ -1,3 +1,8 @@
|
||||||
|
Sun Jul 04 14:32:46 PDT 2004 Christian Hammond <chipx86@gnupdate.org>
|
||||||
|
|
||||||
|
* libnotify/notify.c:
|
||||||
|
- Don't make IDs of 0 bad. They just want to be loved, too.
|
||||||
|
|
||||||
Sun Jul 04 14:08:59 PDT 2004 Christian Hammond <chipx86@gnupdate.org>
|
Sun Jul 04 14:08:59 PDT 2004 Christian Hammond <chipx86@gnupdate.org>
|
||||||
|
|
||||||
* libnotify/notify.c:
|
* libnotify/notify.c:
|
||||||
|
|
|
@ -97,8 +97,6 @@ _notify_handle_new(guint32 id)
|
||||||
{
|
{
|
||||||
NotifyHandle *handle;
|
NotifyHandle *handle;
|
||||||
|
|
||||||
g_return_val_if_fail(id > 0, NULL);
|
|
||||||
|
|
||||||
handle = g_new0(NotifyHandle, 1);
|
handle = g_new0(NotifyHandle, 1);
|
||||||
|
|
||||||
handle->id = id;
|
handle->id = id;
|
||||||
|
|
Loading…
Reference in New Issue