aboutsummaryrefslogtreecommitdiff
path: root/src/arctica-greeter.vala
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2023-05-05 03:41:42 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-05-07 20:52:12 +0200
commit1c150a74abe1fa91d353903e5122ec6895bf23fd (patch)
tree0363946108e15bb94e3d6126c12565094e3508d0 /src/arctica-greeter.vala
parent3c44cdf781d4fcb55b4e0c95043f172f218baaa7 (diff)
downloadarctica-greeter-1c150a74abe1fa91d353903e5122ec6895bf23fd.tar.gz
arctica-greeter-1c150a74abe1fa91d353903e5122ec6895bf23fd.tar.bz2
arctica-greeter-1c150a74abe1fa91d353903e5122ec6895bf23fd.zip
Fix error handlers for D-Bus methods
Diffstat (limited to 'src/arctica-greeter.vala')
-rw-r--r--src/arctica-greeter.vala6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/arctica-greeter.vala b/src/arctica-greeter.vala
index 3ba2ff4..82d679e 100644
--- a/src/arctica-greeter.vala
+++ b/src/arctica-greeter.vala
@@ -2,6 +2,7 @@
*
* Copyright (C) 2011 Canonical Ltd
* Copyright (C) 2015-2017 Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
+ * Copyright (C) 2023 Robert Tari
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 3 as
@@ -17,6 +18,7 @@
*
* Authors: Robert Ancell <robert.ancell@canonical.com>
* Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
+ * Robert Tari <robert@tari.in>
*/
public const int grid_size = 40;
@@ -1243,12 +1245,12 @@ public class DialogDBusInterface : Object
public signal void open_dialog (uint32 type);
public signal void close_dialog ();
- public void open (uint32 type, uint32 timestamp, uint32 seconds_to_stay_open, ObjectPath[] inhibitor_object_paths)
+ public void open (uint32 type, uint32 timestamp, uint32 seconds_to_stay_open, ObjectPath[] inhibitor_object_paths) throws GLib.DBusError, GLib.IOError
{
open_dialog (type);
}
- public void close ()
+ public void close () throws GLib.DBusError, GLib.IOError
{
close_dialog ();
}