diff options
author | Fabio Erculiani <[email protected]> | 2013-07-04 23:11:54 +0200 |
---|---|---|
committer | Fabio Erculiani <[email protected]> | 2013-07-05 12:49:56 +0200 |
commit | b36c93575f88bd5a045c36f3d8084608ae20879f (patch) | |
tree | 3165189b3184ab2e0fb12eb033eb2df04b071379 /src/gpm-button.h | |
parent | 4d842135ce677957aee8bd5bb47f875b0ece570a (diff) | |
download | mate-power-manager-b36c93575f88bd5a045c36f3d8084608ae20879f.tar.bz2 mate-power-manager-b36c93575f88bd5a045c36f3d8084608ae20879f.tar.xz |
drop --with-systemdsleep and move logind detection to runtime
There is no need to bind the user to either systemd-logind or upower
at build time. People can switch between init systems or run logind
without systemd.
Diffstat (limited to 'src/gpm-button.h')
-rw-r--r-- | src/gpm-button.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gpm-button.h b/src/gpm-button.h index 7d60334..8992007 100644 --- a/src/gpm-button.h +++ b/src/gpm-button.h @@ -66,9 +66,6 @@ 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 |