aboutsummaryrefslogtreecommitdiff
path: root/src/service.c
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2023-11-19 04:57:53 +0100
committerRobert Tari <robert@tari.in>2023-11-19 04:57:53 +0100
commit0074618816b5c6e245a9a762d253ec4b0672169c (patch)
tree60e6e6d14862e2c091dc4984d0b0668d6a070645 /src/service.c
parentdee3c1c3bf4dc00b25b63159d13c859919f9bd4d (diff)
parent4192cf6a0b08b5e3049a38c75ce222c44919411d (diff)
downloadayatana-indicator-session-0074618816b5c6e245a9a762d253ec4b0672169c.tar.gz
ayatana-indicator-session-0074618816b5c6e245a9a762d253ec4b0672169c.tar.bz2
ayatana-indicator-session-0074618816b5c6e245a9a762d253ec4b0672169c.zip
Merge branch 'sunweaver-pr/assume-local-session-if-built-without-RDA'
Attributes GH PR #93: https://github.com/AyatanaIndicators/ayatana-indicator-session/pull/93
Diffstat (limited to 'src/service.c')
-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 */