Changeset 11511


Ignore:
Timestamp:
Dec 10, 2010, 2:48:56 PM (12 years ago)
Author:
charles
Message:

(trunk gtk) #3719 "handle API changes to libnotify" -- fixed with patch from _v_l

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/notify.c

    r11387 r11511  
    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.