From 5c7a34721337d8495e6697bef40490e7e0b6df78 Mon Sep 17 00:00:00 2001 From: Jan Horak Date: Mon, 8 Nov 2010 13:32:40 +0100 Subject: [PATCH] Fixed libnotify patch --- mozilla-notify.patch | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/mozilla-notify.patch b/mozilla-notify.patch index fb896c4..952567b 100644 --- a/mozilla-notify.patch +++ b/mozilla-notify.patch @@ -1,13 +1,12 @@ -diff -up xulrunner-2.0/mozilla-central/toolkit/system/gnome/nsAlertsIconListener.cpp.notify xulrunner-2.0/mozilla-central/toolkit/system/gnome/nsAlertsIconListener.cpp ---- xulrunner-2.0/mozilla/toolkit/system/gnome/nsAlertsIconListener.cpp.notify 2010-11-02 17:02:18.266180000 -0400 -+++ xulrunner-2.0/mozilla/toolkit/system/gnome/nsAlertsIconListener.cpp 2010-11-02 17:02:37.699180028 -0400 -@@ -218,7 +218,7 @@ nsAlertsIconListener::ShowAlert(GdkPixbu +diff -up comm-1.9.2/mozilla/toolkit/system/gnome/nsAlertsIconListener.cpp.libnotify comm-1.9.2/mozilla/toolkit/system/gnome/nsAlertsIconListener.cpp +--- comm-1.9.2/mozilla/toolkit/system/gnome/nsAlertsIconListener.cpp.libnotify 2010-10-27 09:05:36.000000000 +0200 ++++ comm-1.9.2/mozilla/toolkit/system/gnome/nsAlertsIconListener.cpp 2010-11-08 13:28:04.564002379 +0100 +@@ -204,7 +204,7 @@ nsAlertsIconListener::ShowAlert(GdkPixbu { - mNotification = notify_notification_new(mAlertTitle.get(), - mAlertText.get(), -- NULL, NULL); -+ NULL); - if (!mNotification) + NotifyNotification* notify = notify_notification_new(mAlertTitle.get(), + mAlertText.get(), +- NULL, NULL); ++ NULL); + if (!notify) return NS_ERROR_OUT_OF_MEMORY; -