aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-09-20 12:11:06 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-10-18 14:05:58 +0200
commite0089c4226251266c23a21da8d16e7bde7524bf8 (patch)
tree097d057fc02992a68cfb7a45108ceabe1b3e7bea /src
parentbc1f16f857ca694b666a343bb3f734f1962c6400 (diff)
downloadayatana-indicator-keyboard-e0089c4226251266c23a21da8d16e7bde7524bf8.tar.gz
ayatana-indicator-keyboard-e0089c4226251266c23a21da8d16e7bde7524bf8.tar.bz2
ayatana-indicator-keyboard-e0089c4226251266c23a21da8d16e7bde7524bf8.zip
src/service.c: Fix Lomiri detection
Diffstat (limited to 'src')
-rw-r--r--src/service.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/service.c b/src/service.c
index ac94f0b5..bcc1841c 100644
--- a/src/service.c
+++ b/src/service.c
@@ -406,11 +406,8 @@ static void onDispose(GObject *pObject)
static void indicator_keyboard_service_init(IndicatorKeyboardService *self)
{
gchar *sLib = "libayatana-keyboard-x11.so";
- GFile *pFile = g_file_new_for_path("/usr/lib/maliit/plugins/liblomiri-keyboard-plugin.so");
- gboolean bExists = g_file_query_exists(pFile, NULL);
- g_object_unref(pFile);
- if (bExists)
+ if (ayatana_common_utils_is_lomiri())
{
sLib = "libayatana-keyboard-lomiri.so";
}