diff options
-rw-r--r-- | src/launchpad_lib.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/launchpad_lib.c b/src/launchpad_lib.c index 633ec5b..6336a19 100644 --- a/src/launchpad_lib.c +++ b/src/launchpad_lib.c @@ -57,13 +57,6 @@ static void __at_exit_to_release_bundle(void) bundle_free(__bundle); } -static void __buxton_cb(int status, const struct buxton_layer *layer, - const char *key, const struct buxton_value *val, - void *user_data) -{ - _D("buxton_update_client_label result : %d", status); -} - static int __prepare_exec(const char *appid, const char *app_path, const char *pkg_type, int type) { @@ -89,9 +82,10 @@ static int __prepare_exec(const char *appid, const char *app_path, _E("buxton_open() failed"); return -1; } - ret = buxton_update_client_label(bxt_cli, __buxton_cb, NULL); + ret = buxton_update_client_label_sync(bxt_cli); if (ret != 0) { _E("buxton_update_client_label() failed"); + buxton_close(bxt_cli); return -1; } buxton_close(bxt_cli); |