aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-11-18 22:20:24 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-11-18 23:47:13 +0100
commit25ba8ee987ffaf7e50f5336de6f9c2fb563a99f9 (patch)
tree02360defc29cff2589614e74fdc97aa5d92a4528
parent4301580b2191c8bf4f13fa17479ec1c5f43ae23e (diff)
downloadayatana-indicator-session-25ba8ee987ffaf7e50f5336de6f9c2fb563a99f9.tar.gz
ayatana-indicator-session-25ba8ee987ffaf7e50f5336de6f9c2fb563a99f9.tar.bz2
ayatana-indicator-session-25ba8ee987ffaf7e50f5336de6f9c2fb563a99f9.zip
src/service.c: Initialize bLocal as true if building without RDA support.
This assumes that the session is always local.
-rw-r--r--src/service.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/service.c b/src/service.c
index 638effa..6922f04 100644
--- a/src/service.c
+++ b/src/service.c
@@ -1425,6 +1425,8 @@ indicator_session_service_init (IndicatorSessionService * self)
self->priv = p;
#if RDA_ENABLED
self->priv->bLocal = rda_session_is_local ();
+#else
+ self->priv->bLocal = true;
#endif /* RDA_ENABLED */
/* init the backend objects */