summaryrefslogtreecommitdiff
path: root/src/gpm-button.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpm-button.h')
-rw-r--r--src/gpm-button.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gpm-button.h b/src/gpm-button.h
index 8992007..7d60334 100644
--- a/src/gpm-button.h
+++ b/src/gpm-button.h
@@ -66,6 +66,9 @@ typedef struct
GType gpm_button_get_type (void);
GpmButton *gpm_button_new (void);
gboolean gpm_button_is_lid_closed (GpmButton *button);
+#ifdef WITH_SYSTEMD_SLEEP
+gboolean gpm_button_get_lid_closed ();
+#endif
gboolean gpm_button_reset_time (GpmButton *button);
G_END_DECLS