From cf42441b43aec2e0457ec6e4dfdf2af8e58ac716 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Fri, 28 Feb 2025 16:11:01 +0100 Subject: src/utils.(c|h): Add ayatana_common_utils_is_ubuntutouch() function. --- src/utils.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/utils.c') diff --git a/src/utils.c b/src/utils.c index 0a33a74..712b060 100644 --- a/src/utils.c +++ b/src/utils.c @@ -73,6 +73,12 @@ ayatana_common_utils_is_lomiri () return is_xdg_current_desktop(DESKTOP_LOMIRI, SESSION_LOMIRI); } +gboolean +ayatana_common_utils_is_ubuntutouch () +{ + return is_xdg_current_desktop(DESKTOP_UBUNTUTOUCH, SESSION_UBUNTUTOUCH); +} + gboolean ayatana_common_utils_is_gnome () { -- cgit v1.2.3