diff --git a/ChangeLog b/ChangeLog index 780ac70..d4856e8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Sun Sep 03 23:48:29 PDT 2006 Christian Hammond + + * libnotify/notification.c: + * NEWS: + - Patch by lucasr to fix an invalid assertion in + notify_notification_new_with_status_icon. This closes bug #85. + Sun Sep 03 23:44:01 PDT 2006 Christian Hammond * libnotify/notify.c: diff --git a/NEWS b/NEWS index 58d7728..fa42693 100644 --- a/NEWS +++ b/NEWS @@ -9,6 +9,8 @@ version 0.4.3: * Fixed the property change notification used when setting a GtkStatusIocn. It was emitting "attach-icon" but should have been emitted "status-icon". (Bug #81) + * Fixed an invalid assertion in notify_notification_new_with_status_icon. + Patch by lucasr. (Bug #85) * notify_uninit is no longer called automatically at exit. Applications and libraries should do this manually. Patch by berndth. (Bug #86) diff --git a/libnotify/notification.c b/libnotify/notification.c index 535e734..9645f46 100644 --- a/libnotify/notification.c +++ b/libnotify/notification.c @@ -502,7 +502,7 @@ notify_notification_new_with_status_icon(const gchar *summary, const gchar *icon, GtkStatusIcon *status_icon) { - g_return_val_if_fail(status_icon == NULL, NULL); + g_return_val_if_fail(status_icon != NULL, NULL); g_return_val_if_fail(GTK_IS_STATUS_ICON(status_icon), NULL); return g_object_new(NOTIFY_TYPE_NOTIFICATION,