summaryrefslogtreecommitdiff
path: root/libmate-desktop/mate-desktop-item.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmate-desktop/mate-desktop-item.c')
-rw-r--r--libmate-desktop/mate-desktop-item.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libmate-desktop/mate-desktop-item.c b/libmate-desktop/mate-desktop-item.c
index 89025a2..baf0ad6 100644
--- a/libmate-desktop/mate-desktop-item.c
+++ b/libmate-desktop/mate-desktop-item.c
@@ -1873,6 +1873,10 @@ ditem_execute (const MateDesktopItem *item,
sn_context = NULL;
}
}
+ else {
+ sn_context = NULL;
+ sn_display = NULL;
+ }
#endif
if (screen) {