Advertisement
Guest User

alarm-clock libnotify 0.7

a guest
Mar 24th, 2011
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.73 KB | None | 0 0
  1. --- alarm-clock-1.4.3/src/alarm_runner.c~    2011-03-25 01:53:36.850754992 +0100
  2. +++ alarm-clock-1.4.3/src/alarm_runner.c    2011-03-25 01:58:17.729233343 +0100
  3. @@ -213,10 +213,13 @@
  4.      
  5.      if (notify != NULL) notify_notification_close(notify, NULL);
  6.  #ifndef APPINDICATOR
  7. +  #if NOTIFY_CHECK_VERSION (0, 7, 0)
  8. +    notify = notify_notification_new(title, text, NULL);
  9. +    notify = notify_notification_new(title, text, NULL);
  10. +  #else    
  11.      notify = notify_notification_new_with_status_icon(title, text, NULL, status_icon);
  12. -#endif
  13. -#ifdef APPINDICATOR
  14.      notify = notify_notification_new(title, text, NULL, NULL);
  15. +  #endif
  16.  #endif
  17.      if (notify == NULL) g_print("BAD");
  18.      notify_notification_set_urgency(notify, type);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement