Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 260486 Details for
Bug 352397
net-libs/xulrunner: patch for libnotify-0.7 support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
xulrunner-libnotify-0.7.patch
xulrunner-libnotify-0.7.patch (text/plain), 1.09 KB, created by
Priit Laes (IRC: plaes)
on 2011-01-22 08:41:03 UTC
(
hide
)
Description:
xulrunner-libnotify-0.7.patch
Filename:
MIME Type:
Creator:
Priit Laes (IRC: plaes)
Created:
2011-01-22 08:41:03 UTC
Size:
1.09 KB
patch
obsolete
>--- toolkit/system/gnome/nsAlertsIconListener.cpp.orig 2011-01-21 08:00:00.999047591 +0200 >+++ toolkit/system/gnome/nsAlertsIconListener.cpp 2011-01-21 08:06:04.585047840 +0200 >@@ -47,6 +47,10 @@ > #include <libnotify/notify.h> > #include <gdk/gdk.h> > >+#ifndef NOTIFY_CHECK_VERSION >+#define NOTIFY_CHECK_VERSION(x,y,z) 0 >+#endif >+ > static PRBool gHasActions = PR_FALSE; > > static void notify_action_cb(NotifyNotification *notification, >@@ -202,9 +206,14 @@ > nsresult > nsAlertsIconListener::ShowAlert(GdkPixbuf* aPixbuf) > { >- NotifyNotification* notify = notify_notification_new(mAlertTitle.get(), >- mAlertText.get(), >- NULL, NULL); >+ NotifyNotification* notify; >+/* libnotify 0.7.0 and later has no support for attaching to widgets */ >+#if NOTIFY_CHECK_VERSION(0,7,0) >+ notify = notify_notification_new(mAlertTitle.get(), mAlertText.get(), NULL); >+#else >+ notify = notify_notification_new(mAlertTitle.get(), mAlertText.get(), NULL, NULL); >+#endif >+ > if (!notify) > return NS_ERROR_OUT_OF_MEMORY; >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 352397
:
260486
|
261919