Libnotify0.7 broke its API. As a result, lxmusic fails to compile.
Here's a patch that should fix the issue :
diff --git a/src/lxmusic-notify.c b/src/lxmusic-notify.c
index 6881f90..8c1e7c0 100644
--- a/src/lxmusic-notify.c
+++ b/src/lxmusic-notify.c
@@ -84,9 +84,15 @@ LXMusicNotification lxmusic_do_notify_prepare(const
gchar *artist, const gchar *
else
g_string_append( message, title );
struct _LXMusicNotification *lxn = g_new ( struct
_LXMusicNotification, 1);
+#if !defined(NOTIFY_VERSION_MINOR) || (NOTIFY_VERSION_MAJOR == 0 &&
NOTIFY_VERSION_MINOR < 7)
lxn->notify = notify_notification_new (summary, message->str,
NULL, NULL);
+#else
+ lxn->notify = notify_notification_new (summary, message->str, NULL);
+#endif
notify_notification_set_urgency (lxn->notify, NOTIFY_URGENCY_NORMAL);
+#if !defined(NOTIFY_VERSION_MINOR) || (NOTIFY_VERSION_MAJOR == 0 &&
NOTIFY_VERSION_MINOR < 7)
notify_notification_attach_to_status_icon( lxn->notify, status_icon );
+#endif
notify_notification_set_timeout (lxn->notify, NOTIFY_EXPIRES_DEFAULT);
g_string_free( message, TRUE );
return lxn;
Other LXDE components might be affected.
Cyril Roelandt.
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Lxde-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxde-list