[gnome-settings-daemon] sharing: Fix compilation without NetworkManager
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] sharing: Fix compilation without NetworkManager
- Date: Wed, 25 Jun 2014 18:07:32 +0000 (UTC)
commit 0775173f76113ec27f1112ce4319277d7e1fa191
Author: Bastien Nocera <hadess hadess net>
Date: Wed Jun 25 20:06:46 2014 +0200
sharing: Fix compilation without NetworkManager
Caused by my rework of Giovanni's
bc3be2b760963688f15d28a853cd99954594e979 commit.
plugins/sharing/gsd-sharing-manager.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/plugins/sharing/gsd-sharing-manager.c b/plugins/sharing/gsd-sharing-manager.c
index a727eed..dde28f5 100644
--- a/plugins/sharing/gsd-sharing-manager.c
+++ b/plugins/sharing/gsd-sharing-manager.c
@@ -169,6 +169,13 @@ service_is_enabled_on_current_connection (GsdSharingManager *manager,
g_strfreev (connections);
return ret;
}
+#else
+static gboolean
+service_is_enabled_on_current_connection (GsdSharingManager *manager,
+ ServiceInfo *service)
+{
+ return FALSE;
+}
#endif /* HAVE_NETWORK_MANAGER */
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]