add convenience function "notify_has_server_cap" to notify.h

Bug #383875 reported by Alexander Sack
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
galago-daemon
New
Unknown
libnotify (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

Inspired by http://bugzilla.gnome.org/show_bug.cgi?id=584857#c2 I added a convenience function to libnotify that allows easy testing for certain capabilities: gboolean notify_has_server_cap(const char* capability)

Attaching patch.

Revision history for this message
Alexander Sack (asac) wrote :
Revision history for this message
Alexander Sack (asac) wrote :

PPA builds failed due to coreutils bustage; attaching debdiff so one can test.

Revision history for this message
Alexander Sack (asac) wrote :
Revision history for this message
A. Walton (awalton) wrote :

g_strcmp0 bumps the GLib requirement for libnotify by quite a bit and the comments are in what looks to be doxygen format when they should be in gtk-doc format.

Otherwise it's fine by me.

Revision history for this message
Alexander Sack (asac) wrote :

i think doc format is in line with currently used format in notify.* ... we should do that in another bug.

Revision history for this message
Alexander Sack (asac) wrote :
Alexander Sack (asac)
Changed in libnotify (Ubuntu):
importance: Undecided → Wishlist
status: New → Triaged
Changed in galago-daemon:
status: Unknown → New
Changed in libnotify (Ubuntu):
status: Triaged → 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.