diff options
-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"); } |