Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > b48bd18c8eda8271a7727ca58f89f2c7 > files > 1

s2u-0.9.2-3.mga3.src.rpm

--- s2u-0.9.2/s2u.c.orig	2009-08-18 16:04:01.000000000 +0000
+++ s2u-0.9.2/s2u.c	2011-06-19 04:07:27.114149021 +0000
@@ -55,6 +55,7 @@
 #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 @@
                     &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 @@
                     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");
             }