aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-10 21:47:49 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-10 21:47:49 +0200
commit4331703ffd0e3800ee5f54a3767d77cfb86f289f (patch)
tree3b62b765bbb7160030acb01502d46ec822a27f01
parenta590902a481e1e6d091938477a13916be9568e5b (diff)
parentccbdc5795cb4947b6d39a8b0de88494bbf76d827 (diff)
downloadlibayatana-common-4331703ffd0e3800ee5f54a3767d77cfb86f289f.tar.gz
libayatana-common-4331703ffd0e3800ee5f54a3767d77cfb86f289f.tar.bz2
libayatana-common-4331703ffd0e3800ee5f54a3767d77cfb86f289f.zip
Merge branch 'tari01-pr/fix-is-lomiri'
Attributes GH PR #34: https://github.com/AyatanaIndicators/libayatana-common/pull/34
-rw-r--r--src/utils.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/utils.c b/src/utils.c
index 0faaca2..ecd5d38 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -48,9 +48,7 @@ is_xdg_current_desktop (const gchar* desktop)
gboolean
ayatana_common_utils_is_lomiri ()
{
- // For legacy reasons keep the MIR_SOCKET hack
- return (g_getenv ("MIR_SOCKET") != NULL ||
- is_xdg_current_desktop(DESKTOP_LOMIRI));
+ return is_xdg_current_desktop(DESKTOP_LOMIRI);
}
gboolean