aboutsummaryrefslogtreecommitdiffstats
path: root/src/homescreen.cpp
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2020-08-19 12:09:09 +0300
committerMarius Vlad <marius.vlad@collabora.com>2020-08-19 16:14:36 +0300
commit58eebeba6beb38861add052b9f4641f85906c8f1 (patch)
tree3653a3abb5ea9e5f11534e2b8f70f3eeb4d1f042 /src/homescreen.cpp
parent60bc3bb15799c2443bc8074c9cb23317e2784d77 (diff)
hs-proxy: Hand over the hs_instance to AfmMainProxy
Bug-AGL: SPEC-3524 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I80a7bac4244e62f49ab4bf068476ad4e888085f1
Diffstat (limited to 'src/homescreen.cpp')
-rw-r--r--src/homescreen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/homescreen.cpp b/src/homescreen.cpp
index 95cdf4e..65c0064 100644
--- a/src/homescreen.cpp
+++ b/src/homescreen.cpp
@@ -163,7 +163,7 @@ static void tap_shortcut (afb_req_t request)
if(ret == AFB_REQ_NOT_STARTED_APPLICATION) {
std::string id = g_hs_instance->app_info->getAppProperty(value, _keyId);
HS_AfmMainProxy afm_proxy;
- afm_proxy.start(request, id);
+ afm_proxy.start(g_hs_instance, request, id);
ret = 0;
}
}
@@ -315,7 +315,7 @@ static void showWindow(afb_req_t request)
if(ret == AFB_REQ_NOT_STARTED_APPLICATION) {
std::string id = g_hs_instance->app_info->getAppProperty(value, _keyId);
HS_AfmMainProxy afm_proxy;
- afm_proxy.start(request, id);
+ afm_proxy.start(g_hs_instance, request, id);
ret = 0;
}
}