Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 354087
Collapse All | Expand All

(-)syncevolution-1.1.1.orig/src/syncevo-dbus-server.cpp (-4 / +8 lines)
Lines 64-69 Link Here
64
64
65
#ifdef HAS_NOTIFY
65
#ifdef HAS_NOTIFY
66
#include <libnotify/notify.h>
66
#include <libnotify/notify.h>
67
#ifndef NOTIFY_CHECK_VERSION
68
#define NOTIFY_CHECK_VERSION(x,y,z) 0
69
#endif
67
#endif
70
#endif
68
71
69
class DBusMessage;
72
class DBusMessage;
Lines 6108-6117 Link Here
6108
        notify_notification_clear_actions(m_notification);
6111
        notify_notification_clear_actions(m_notification);
6109
        notify_notification_close(m_notification, NULL);
6112
        notify_notification_close(m_notification, NULL);
6110
    }
6113
    }
6111
#if !defined(NOTIFY_CHECK_VERSION)
6114
    m_notification = notify_notification_new(summary, body, NULL
6112
    m_notification = notify_notification_new(summary, body, NULL, NULL);
6115
#if NOTIFY_CHECK_VERSION (0, 7, 0)
6113
#else // NOTIFY_CHECK_VERSION(0,7,0) is redundant, because 0.7.0 introduced NOTIFY_CHECK_VERSION
6116
    );
6114
    m_notification = notify_notification_new(summary, body, NULL);
6117
#else
6118
    , NULL);
6115
#endif
6119
#endif
6116
    //if actions are not supported, don't add actions
6120
    //if actions are not supported, don't add actions
6117
    //An example is Ubuntu Notify OSD. It uses an alert box
6121
    //An example is Ubuntu Notify OSD. It uses an alert box

Return to bug 354087