Sophie

Sophie

distrib > Mageia > 6 > armv7hl > media > core-release-src > by-pkgid > 7e4af2213b9ca8b621f48f1d33599cd6 > files > 2

ibus-sogoupycc-0.2.5-15.mga6.src.rpm

--- ibus-sogoupycc-0.2.5/src/XUtility.cpp.orig	2010-04-13 18:35:46.000000000 +0200
+++ ibus-sogoupycc-0.2.5/src/XUtility.cpp	2011-06-19 06:29:36.253148457 +0200
@@ -87,7 +87,7 @@
         // init libnotify
         notifyInited = notify_init("ibus-sogoupycc");
         if (notifyInited) {
-            staticNotify = notify_notification_new("-", NULL, NULL, NULL);
+            staticNotify = notify_notification_new("-", NULL, NULL);
         }
 
         staticInited = true;
@@ -98,7 +98,7 @@
         if (Configuration::staticNotification) return showStaticNotify(summary, body, iconPath);
         if (!notifyInited) return false;
         if (summary == NULL || summary[0] == '\0') return false;
-        NotifyNotification *notify = notify_notification_new(summary, body, iconPath, NULL);
+        NotifyNotification *notify = notify_notification_new(summary, body, iconPath);
         int r = notify_notification_show(notify, NULL);
         g_object_unref(G_OBJECT(notify));
         return (r != FALSE);