summaryrefslogtreecommitdiff
path: root/mate-session/gsm-inhibitor.h
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2020-04-28 17:06:07 +0800
committerXiaotian Wu <[email protected]>2023-10-03 18:44:26 +0800
commit7cba004dfcd621cfa193c389a01de11526c701d9 (patch)
treee9ee8a14e11f4dafde74c6cfc267da9d89b19870 /mate-session/gsm-inhibitor.h
parentaa8baa90d497a54410676190e784986e185a8745 (diff)
downloadmate-session-manager-7cba004dfcd621cfa193c389a01de11526c701d9.tar.bz2
mate-session-manager-7cba004dfcd621cfa193c389a01de11526c701d9.tar.xz
update
Diffstat (limited to 'mate-session/gsm-inhibitor.h')
-rw-r--r--mate-session/gsm-inhibitor.h20
1 files changed, 0 insertions, 20 deletions
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__ */