Fix warning/crash when libnotify enabled and server is not present. Bug 768911.
* src/client/notification/libnotify.vala (Libnotify): Allow for the server capabilities being null.
This commit is contained in:
parent
bcfb0716d5
commit
8c22ce6727
2 changed files with 9 additions and 4 deletions
|
|
@ -59,7 +59,7 @@ namespace Notify {
|
|||
[CCode (cheader_filename = "libnotify/notify.h")]
|
||||
public static unowned string get_app_name ();
|
||||
[CCode (cheader_filename = "libnotify/notify.h")]
|
||||
public static GLib.List<string> get_server_caps ();
|
||||
public static GLib.List<string>? get_server_caps ();
|
||||
[CCode (cheader_filename = "libnotify/notify.h")]
|
||||
public static bool get_server_info (out unowned string ret_name, out unowned string ret_vendor, out unowned string ret_version, out unowned string ret_spec_version);
|
||||
[CCode (cheader_filename = "libnotify/notify.h")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue