From 22f6632c9e3a992d8cfeadee002940355bd04e45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C3=A9cureuil?= Date: Mon, 8 Jun 2020 21:35:05 +0200 Subject: Fix build with libnotity 0.7 --- s2u.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/s2u.c b/s2u.c index 4cb73c0..5f99830 100644 --- a/s2u.c +++ b/s2u.c @@ -55,6 +55,7 @@ static const char compile_id[] = "$Compile: " __FILE__ " " __DATE__ " " __TIME__ #include #include #include +#include #include #include @@ -157,7 +158,7 @@ filter_function (DBusConnection * connection, &error, DBUS_TYPE_STRING, &string, DBUS_TYPE_INVALID)) { - n = notify_notification_new("MSEC", string, GTK_STOCK_INFO, NULL); + n = notify_notification_new("MSEC", string, GTK_STOCK_INFO); if (!notify_notification_show (n, NULL)) { g_printerr("notify_notification_show: failed to show notification\n"); } @@ -180,7 +181,7 @@ filter_function (DBusConnection * connection, DBUS_TYPE_STRING, &title, DBUS_TYPE_STRING, &string, DBUS_TYPE_INVALID)) { - n = notify_notification_new(title, string, GTK_STOCK_INFO, NULL); + n = notify_notification_new(title, string, GTK_STOCK_INFO); if (!notify_notification_show (n, NULL)) { g_printerr("notify_notification_show: failed to show notification\n"); } -- cgit v1.2.1