1 --- ospm-1.4.11/applet/ospm-status-dialog.c-orig ::
2 +++ ospm-1.4.11/applet/ospm-status-dialog.c ::
4 if (!notify_init (PACKAGE))
7 - notify = notify_notification_new_with_status_icon ("ospm-applet", NULL, NULL, icon);
8 +#ifdef NOTIFY_CHECK_VERSION
9 +#if NOTIFY_CHECK_VERSION (0, 7, 0)
10 + notify = notify_notification_new ("ospm-applet", NULL, NULL);
12 + notify = notify_notification_new ("ospm-applet", NULL, NULL, NULL);
15 + notify = notify_notification_new ("ospm-applet", NULL, NULL, NULL);
18 notify_notification_add_action (notify, "default", "default action", notify_action_cb, icon, NULL);