Changeset 11387


Ignore:
Timestamp:
Nov 6, 2010, 2:37:34 PM (11 years ago)
Author:
charles
Message:

(trunk gtk) #3710 "Handle API changes to libnotify 0.7" -- fixed. The cpp hack is borrowed from qbittorrent and torium... :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/notify.c

    r9989 r11387  
    130130
    131131        n = notify_notification_new( _( "Torrent Complete" ),
    132                                      info->name,
    133                                      NULL, NULL );
     132                                     info->name, NULL
     133/* the fourth argument was removed in libnotify 0.7.0 */
     134#if !defined(NOTIFY_VERSION_MINOR) || (NOTIFY_VERSION_MAJOR == 0 && NOTIFY_VERSION_MINOR < 7)
     135                                                     , NULL
     136#endif
     137                                                            );
    134138        addIcon( n );
    135139
Note: See TracChangeset for help on using the changeset viewer.