You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
822 B
19 lines
822 B
diff -ur ../transmission-2.11.orig/gtk/notify.c ./gtk/notify.c
|
|
--- ../transmission-2.11.orig/gtk/notify.c 2010-10-17 05:44:40.000000000 +0530
|
|
+++ ./gtk/notify.c 2010-11-07 12:14:20.375068547 +0530
|
|
@@ -129,8 +129,12 @@
|
|
NotifyNotification * n;
|
|
|
|
n = notify_notification_new( _( "Torrent Complete" ),
|
|
- info->name,
|
|
- NULL, NULL );
|
|
+ info->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 );
|
|
|
|
if( can_support_actions( ) )
|