Ignore:
Timestamp:
Dec 20, 2010, 12:26:18 PM (11 years ago)
Author:
charles
Message:

backport #3837, #3838, #3834, #3719, #3826 to the 2.1x branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.1x/gtk/notify.c

    r11387 r11552  
    161161    {
    162162        NotifyNotification * n = notify_notification_new(
    163             _( "Torrent Added" ), name, NULL, NULL );
     163            _( "Torrent Added" ), name, NULL
     164/* the fourth argument was removed in libnotify 0.7.0 */
     165#if !defined(NOTIFY_VERSION_MINOR) || (NOTIFY_VERSION_MAJOR == 0 && NOTIFY_VERSION_MINOR < 7)
     166            , NULL
     167#endif
     168            );
    164169        addIcon( n );
    165170        notify_notification_set_timeout( n, NOTIFY_EXPIRES_DEFAULT );
Note: See TracChangeset for help on using the changeset viewer.