From 9ce0f59d8ac39db98ae1e5148dbf88a933c7918a Mon Sep 17 00:00:00 2001 From: monsta Date: Mon, 14 Dec 2015 15:09:23 +0300 Subject: get rid of some build warnings when --without-console-kit is set --- src/gs-listener-dbus.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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, -- cgit v1.2.1