From 7cba004dfcd621cfa193c389a01de11526c701d9 Mon Sep 17 00:00:00 2001 From: Wu Xiaotian Date: Tue, 28 Apr 2020 17:06:07 +0800 Subject: update --- mate-session/gsm-inhibitor.h | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'mate-session/gsm-inhibitor.h') diff --git a/mate-session/gsm-inhibitor.h b/mate-session/gsm-inhibitor.h index a4d20e9..ff8ec5f 100644 --- a/mate-session/gsm-inhibitor.h +++ b/mate-session/gsm-inhibitor.h @@ -29,7 +29,6 @@ G_BEGIN_DECLS #define GSM_TYPE_INHIBITOR (gsm_inhibitor_get_type ()) #define GSM_INHIBITOR_ERROR (gsm_inhibitor_error_quark ()) -#define GSM_INHIBITOR_TYPE_ERROR (gsm_inhibitor_error_get_type ()) G_DECLARE_FINAL_TYPE (GsmInhibitor, gsm_inhibitor, GSM, INHIBITOR, GObject) typedef enum { @@ -46,8 +45,6 @@ typedef enum GSM_INHIBITOR_NUM_ERRORS } GsmInhibitorError; -GType gsm_inhibitor_error_get_type (void); - GQuark gsm_inhibitor_error_quark (void); GsmInhibitor * gsm_inhibitor_new (const char *app_id, @@ -72,23 +69,6 @@ guint gsm_inhibitor_peek_cookie (GsmInhibitor *inhibitor); guint gsm_inhibitor_peek_flags (GsmInhibitor *inhibitor); guint gsm_inhibitor_peek_toplevel_xid (GsmInhibitor *inhibitor); -/* exported to bus */ -gboolean gsm_inhibitor_get_app_id (GsmInhibitor *inhibitor, - char **id, - GError **error); -gboolean gsm_inhibitor_get_client_id (GsmInhibitor *inhibitor, - char **id, - GError **error); -gboolean gsm_inhibitor_get_reason (GsmInhibitor *inhibitor, - char **reason, - GError **error); -gboolean gsm_inhibitor_get_flags (GsmInhibitor *inhibitor, - guint *flags, - GError **error); -gboolean gsm_inhibitor_get_toplevel_xid (GsmInhibitor *inhibitor, - guint *xid, - GError **error); - G_END_DECLS #endif /* __GSM_INHIBITOR_H__ */ -- cgit v1.2.1