diff options
author | Nicolas Lécureuil <neoclust@mageia.org> | 2020-06-08 21:35:05 +0200 |
---|---|---|
committer | Nicolas Lécureuil <neoclust@mageia.org> | 2020-06-08 21:35:05 +0200 |
commit | 22f6632c9e3a992d8cfeadee002940355bd04e45 (patch) | |
tree | 6461a687e5b81b00cae8f320489227ee61660a05 /s2u.c | |
parent | 2e5a7e16475785c4bd2e922b86a73fa02a160671 (diff) | |
download | s2u-22f6632c9e3a992d8cfeadee002940355bd04e45.tar s2u-22f6632c9e3a992d8cfeadee002940355bd04e45.tar.gz s2u-22f6632c9e3a992d8cfeadee002940355bd04e45.tar.bz2 s2u-22f6632c9e3a992d8cfeadee002940355bd04e45.tar.xz s2u-22f6632c9e3a992d8cfeadee002940355bd04e45.zip |
Fix build with libnotity 0.7
Diffstat (limited to 's2u.c')
-rw-r--r-- | s2u.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -55,6 +55,7 @@ static const char compile_id[] = "$Compile: " __FILE__ " " __DATE__ " " __TIME__ #include <signal.h> #include <gdk/gdk.h> #include <libnotify/notify.h> +#include <gtk-2.0/gtk/gtkstock.h> #include <dbus/dbus.h> #include <dbus/dbus-glib.h> @@ -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"); } |