aboutsummaryrefslogtreecommitdiff
path: root/src/utils.c
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-02-21 16:41:30 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-02-27 16:29:28 +0100
commit8e57201526a2e2a0a585ebadb498fb26b74edc12 (patch)
tree0a47bf0a437b791063164542f0ca1085de31bc32 /src/utils.c
parent2f800334533e49c7413a68816bf695db053e97c0 (diff)
downloadayatana-indicator-session-8e57201526a2e2a0a585ebadb498fb26b74edc12.tar.gz
ayatana-indicator-session-8e57201526a2e2a0a585ebadb498fb26b74edc12.tar.bz2
ayatana-indicator-session-8e57201526a2e2a0a585ebadb498fb26b74edc12.zip
src/utils.c: Code formatting change (no-op change) in get_desktop_name().
Signed-off-by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Diffstat (limited to 'src/utils.c')
-rw-r--r--src/utils.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/utils.c b/src/utils.c
index 8c69a59..9593a46 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -145,9 +145,10 @@ get_desktop_name (void)
if (desktop_name == NULL)
{
xdg_current_desktop = g_getenv ("XDG_CURRENT_DESKTOP");
- if (xdg_current_desktop != NULL) {
- desktop_name = g_strsplit (xdg_current_desktop, ":", 0)[0];
- }
+ if (xdg_current_desktop != NULL)
+ {
+ desktop_name = g_strsplit (xdg_current_desktop, ":", 0)[0];
+ }
}
return desktop_name;