aboutsummaryrefslogtreecommitdiffstats
path: root/s2u.c
diff options
context:
space:
mode:
Diffstat (limited to 's2u.c')
-rw-r--r--s2u.c5
1 files 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 <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");
}