summaryrefslogtreecommitdiffstats
path: root/src/applet
diff options
context:
space:
mode:
Diffstat (limited to 'src/applet')
-rw-r--r--src/applet/applet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/applet/applet.c b/src/applet/applet.c
index eee3d108..e965a3ba 100644
--- a/src/applet/applet.c
+++ b/src/applet/applet.c
@@ -164,7 +164,7 @@ static void NameOwnerChanged(DBusMessage* signal)
}
// hide icon if it's visible - as NM and don't show it, if it's not
- if (!new_owner[0])
+ if (applet && !new_owner[0])
hide_icon(applet);
}