compile error with libnotify 0.7.0

Bug #671962 reported by Christoph Wickert
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Alarm Clock Applet
Fix Released
Medium
Johannes H. Jensen

Bug Description

libnotify 0.7.0 includes a number of API changes:

notify_notification_new_with_status_icon is gone
notify_notification_attach_to_status_icon is gone
notify_notification_attach_to_widget is gone
notify_notification_set_geometry_hints is gone
notify_notification_new has lost its 'widget' argument

The attached patch makes alarm-clock-applet 0.3.1 build again, but I'm not sure if I did the right thing. I guess I should call notify_notification_new instead of just removing notify_notification_new_with_status_icon.

Revision history for this message
Christoph Wickert (cwickert) wrote :
Revision history for this message
Johannes H. Jensen (joh) wrote :

Thanks, but have you actually tested running it with the patch applied?

Johannes H. Jensen (joh)
Changed in alarm-clock:
assignee: nobody → Johannes H. Jensen (joh)
importance: Undecided → Medium
milestone: none → 0.3.2
status: New → Confirmed
Revision history for this message
Johannes H. Jensen (joh) wrote :

I'm not sure what the best approach is here. Can libnotify 0.5 and 0.7 co-exist on a system? Which version will be the default in Ubuntu Natty? We can either bump the libnotify requirement to 0.7, or support both 0.5 and 0.7 with some autoconf checks.

Revision history for this message
Johannes H. Jensen (joh) wrote :

Fixed in rev 202.

Changed in alarm-clock:
status: Confirmed → Fix Committed
Revision history for this message
Johannes H. Jensen (joh) wrote :

Just to make it clear, both libnotify 0.5 and 0.7 is supported.

Johannes H. Jensen (joh)
Changed in alarm-clock:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.