* [gentoo-commits] gentoo-x86 commit in net-p2p/transmission/files: transmission-2.13-libnotify-0.7.patch
@ 2011-01-29 14:10 Samuli Suominen (ssuominen)
0 siblings, 0 replies; only message in thread
From: Samuli Suominen (ssuominen) @ 2011-01-29 14:10 UTC (permalink / raw
To: gentoo-commits
ssuominen 11/01/29 14:10:41
Added: transmission-2.13-libnotify-0.7.patch
Log:
Fix building with x11-libs/libnotify >= 0.7 wrt #352128 by Priit Laes.
(Portage version: 2.2.0_alpha19/cvs/Linux x86_64)
Revision Changes Path
1.1 net-p2p/transmission/files/transmission-2.13-libnotify-0.7.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/transmission/files/transmission-2.13-libnotify-0.7.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/transmission/files/transmission-2.13-libnotify-0.7.patch?rev=1.1&content-type=text/plain
Index: transmission-2.13-libnotify-0.7.patch
===================================================================
http://bugs.gentoo.org/352128
--- gtk/notify.c
+++ gtk/notify.c
@@ -160,7 +160,12 @@ tr_notify_added( const char * name )
if( pref_flag_get( PREF_KEY_SHOW_DESKTOP_NOTIFICATION ) )
{
NotifyNotification * n = notify_notification_new(
- _( "Torrent Added" ), name, NULL, NULL );
+ _( "Torrent Added" ), name, NULL
+/* the fourth argument was removed in libnotify 0.7.0 */
+#if !defined(NOTIFY_VERSION_MINOR) || (NOTIFY_VERSION_MAJOR == 0 && NOTIFY_VERSION_MINOR < 7)
+ , NULL
+#endif
+ );
addIcon( n );
notify_notification_set_timeout( n, NOTIFY_EXPIRES_DEFAULT );
notify_notification_show( n, NULL );
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-01-29 14:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-29 14:10 [gentoo-commits] gentoo-x86 commit in net-p2p/transmission/files: transmission-2.13-libnotify-0.7.patch Samuli Suominen (ssuominen)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox