summaryrefslogtreecommitdiff
path: root/src/gpm-button.h
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-05-02 03:01:36 -0700
committerStefano Karapetsas <[email protected]>2013-05-02 03:01:36 -0700
commitacbec2f8c4c0bf0227bd9e43c3c74cea0974ebc3 (patch)
treefe47686e67595d81cf6a67b606074abe8e1f2b52 /src/gpm-button.h
parente4710f05da0f07667f1392385864d32e79681549 (diff)
parent4963dd54412f8bdab61fd4537c753c064c2d3712 (diff)
downloadmate-power-manager-acbec2f8c4c0bf0227bd9e43c3c74cea0974ebc3.tar.bz2
mate-power-manager-acbec2f8c4c0bf0227bd9e43c3c74cea0974ebc3.tar.xz
Merge pull request #55 from boyarsh/master
Add ability to suspend/hibernate via logind
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