1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00
freebsd-ports/deskutils/notify-osd/files/patch-tests_test-synchronous.c

22 lines
664 B
C

--- tests/test-synchronous.c.orig 2011-08-16 13:55:36.000000000 +0200
+++ tests/test-synchronous.c 2011-08-16 13:56:05.000000000 +0200
@@ -38,7 +38,7 @@ send_normal (const gchar *message)
NotifyNotification *n;
n = notify_notification_new ("Test notification",
g_strdup (message),
- "", NULL);
+ "");
notify_notification_show (n, NULL);
g_object_unref(G_OBJECT(n));
}
@@ -53,8 +53,7 @@ send_synchronous (const char *type,
if (n == NULL)
n = notify_notification_new (" ",
"",
- g_strdup (icon),
- NULL);
+ g_strdup (icon));
else
notify_notification_update (n,
" ",