diff options
author | monsta <[email protected]> | 2015-12-14 15:09:23 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2015-12-14 15:09:23 +0300 |
commit | 9ce0f59d8ac39db98ae1e5148dbf88a933c7918a (patch) | |
tree | 6846e3cf085bc8e401575e21b52a84516c06f620 | |
parent | cc02e012cdd075a1a061603f0ade12f3eee20915 (diff) | |
download | mate-screensaver-9ce0f59d8ac39db98ae1e5148dbf88a933c7918a.tar.bz2 mate-screensaver-9ce0f59d8ac39db98ae1e5148dbf88a933c7918a.tar.xz |
get rid of some build warnings when --without-console-kit is set
-rw-r--r-- | src/gs-listener-dbus.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gs-listener-dbus.c b/src/gs-listener-dbus.c index ec0be3f..03bbb14 100644 --- a/src/gs-listener-dbus.c +++ b/src/gs-listener-dbus.c @@ -899,6 +899,7 @@ listener_dbus_get_ref_entries (GSListener *listener, return DBUS_HANDLER_RESULT_HANDLED; } +#ifdef WITH_CONSOLE_KIT static void listener_add_ck_ref_entry (GSListener *listener, int entry_type, @@ -932,6 +933,7 @@ listener_remove_ck_ref_entry (GSListener *listener, { listener_remove_ref_entry (listener, entry_type, cookie); } +#endif static DBusHandlerResult listener_dbus_add_ref_entry (GSListener *listener, |