summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThierry HUCHARD <thierry@ordissimo.com>2020-05-14 11:26:10 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-05-14 11:26:11 +0100
commit48b555b2049b8f73795a4f92399955f8e2ef8d96 (patch)
treec711d8794099bc2401b81cbacb9b2e9f5b7060af /src
parent19395ae1fe325947b35d32aa63eff7f7bcc79472 (diff)
Fixed menu crashes in the systray.
Reviewers: devilhorns Subscribers: cedric, zmike Tags: #enlightenment-git Differential Revision: https://phab.enlightenment.org/D11502
Diffstat (limited to 'src')
-rw-r--r--src/bin/e_dbusmenu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/e_dbusmenu.c b/src/bin/e_dbusmenu.c
index 5a94b9be8..8abcad285 100644
--- a/src/bin/e_dbusmenu.c
+++ b/src/bin/e_dbusmenu.c
@@ -401,6 +401,7 @@ e_dbusmenu_event_send(E_DBusMenu_Item *m, E_DBusMenu_Item_Event event)
401 EINA_SAFETY_ON_NULL_RETURN(m); 401 EINA_SAFETY_ON_NULL_RETURN(m);
402 EINA_SAFETY_ON_FALSE_RETURN(event < E_DBUSMENU_ITEM_EVENT_LAST); 402 EINA_SAFETY_ON_FALSE_RETURN(event < E_DBUSMENU_ITEM_EVENT_LAST);
403 EINA_SAFETY_ON_NULL_RETURN(m->ctx); 403 EINA_SAFETY_ON_NULL_RETURN(m->ctx);
404 m->ctx->proxy = eldbus_proxy_ref(m->ctx->proxy);
404 405
405 msg = eldbus_proxy_method_call_new(m->ctx->proxy, "Event"); 406 msg = eldbus_proxy_method_call_new(m->ctx->proxy, "Event");
406 main_iter = eldbus_message_iter_get(msg); 407 main_iter = eldbus_message_iter_get(msg);