diff options
author | Robert Ancell <robert.ancell@canonical.com> | 2011-07-24 10:51:08 +1000 |
---|---|---|
committer | Robert Ancell <robert.ancell@canonical.com> | 2011-07-24 10:51:08 +1000 |
commit | 5c667b02eb582350673bc9672cb40c4acf2dafbd (patch) | |
tree | 3ae7d3fa42cf7d7949d1b9a00bc032a56d1c7781 /liblightdm-gobject/liblightdm-gobject-1.vapi | |
parent | 545bb9deb2281e390e32128743929473db51819b (diff) | |
download | lightdm-5c667b02eb582350673bc9672cb40c4acf2dafbd.tar.gz |
Add GErrors to liblightdm-gobject
Diffstat (limited to 'liblightdm-gobject/liblightdm-gobject-1.vapi')
-rw-r--r-- | liblightdm-gobject/liblightdm-gobject-1.vapi | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/liblightdm-gobject/liblightdm-gobject-1.vapi b/liblightdm-gobject/liblightdm-gobject-1.vapi index 241d8e7c..ff61d0e3 100644 --- a/liblightdm-gobject/liblightdm-gobject-1.vapi +++ b/liblightdm-gobject/liblightdm-gobject-1.vapi @@ -8,13 +8,13 @@ namespace LightDM { public static void set_layout (Layout layout); public static unowned Layout get_layout (); public static bool get_can_suspend (); - public static void suspend (); + public static bool suspend () throws GLib.Error; public static bool get_can_hibernate (); - public static void hibernate (); + public static bool hibernate () throws GLib.Error; public static bool get_can_restart (); - public static void restart (); + public static bool restart () throws GLib.Error; public static bool get_can_shutdown (); - public static void shutdown (); + public static bool shutdown () throws GLib.Error; public class Greeter : GLib.Object { public Greeter (); @@ -23,7 +23,7 @@ namespace LightDM { public signal void authentication_complete (); public signal void autologin_timer_expired (); - public bool connect_sync (); + public bool connect_sync () throws GLib.Error; public unowned string get_hint (string name); public unowned string default_session_hint { get; } public bool hide_users_hint { get; } @@ -41,7 +41,7 @@ namespace LightDM { public bool in_authentication { get; } public bool is_authenticated { get; } public unowned string authentication_user { get; } - public void start_session_sync (string? session = null); + public void start_session_sync (string? session = null) throws GLib.Error; } public enum MessageType { INFO, |