mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-09 04:13:33 +02:00
Register errors with D-Bus
So we get errors like: net.reactivated.Fprint.Error.DiscoverPrints instead of: org.freedesktop.DBus.GLib.UnmappedError.FprintdErrorQuark.Code2
This commit is contained in:
committed by
Daniel Drake
parent
6fc861a154
commit
9743d9d2a0
@ -27,10 +27,14 @@
|
||||
#define TIMEOUT 30
|
||||
#define FPRINT_SERVICE_NAME "net.reactivated.Fprint"
|
||||
extern DBusGConnection *fprintd_dbus_conn;
|
||||
GQuark fprint_error_quark(void);
|
||||
|
||||
/* Errors */
|
||||
GQuark fprint_error_quark(void);
|
||||
GType fprint_error_get_type(void);
|
||||
|
||||
#define FPRINT_ERROR fprint_error_quark()
|
||||
#define FPRINT_TYPE_ERROR fprint_error_get_type()
|
||||
#define FPRINT_ERROR_DBUS_INTERFACE "net.reactivated.Fprint.Error"
|
||||
typedef enum {
|
||||
FPRINT_ERROR_INTERNAL,
|
||||
FPRINT_ERROR_ALREADY_IN_USE,
|
||||
|
||||
Reference in New Issue
Block a user