From f980a43b0652b6caa90d81d7c79d747eb2b20b5f Mon Sep 17 00:00:00 2001 From: Sung-jae Park Date: Fri, 25 Jan 2013 11:09:20 +0000 Subject: [PATCH] key down/up, accessibility feature added Update spec Change-Id: I5447a69010dafe967057f0cb5116f14295107fed --- packaging/org.tizen.data-provider-slave.spec | 9 +++++---- src/client.c | 2 ++ src/lb.c | 11 ++++++----- 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/packaging/org.tizen.data-provider-slave.spec b/packaging/org.tizen.data-provider-slave.spec index 0b970ec..1d11eb3 100644 --- a/packaging/org.tizen.data-provider-slave.spec +++ b/packaging/org.tizen.data-provider-slave.spec @@ -1,8 +1,8 @@ Name: org.tizen.data-provider-slave -Summary: Slave data provider -Version: 0.9.2 +Summary: Plugin type livebox service provider. +Version: 0.9.3 Release: 1 -Group: main/app +Group: frameowrk/livebox License: Flora License Source0: %{name}-%{version}.tar.gz BuildRequires: cmake, gettext-tools, coreutils @@ -29,7 +29,8 @@ BuildRequires: pkgconfig(livebox) BuildRequires: pkgconfig(elementary) %description -Loading livebox and managing their life-cycle to generate contents properly. +Plugin type liveboxes are managed by this. +Supporting the EFL. %prep %setup -q diff --git a/src/client.c b/src/client.c index 0656b2d..9d3db57 100644 --- a/src/client.c +++ b/src/client.c @@ -330,6 +330,8 @@ HAPI int client_init(const char *name) .pd_destroy = method_pd_destroyed, .lb_pause = method_lb_pause, .lb_resume = method_lb_resume, + .pd_access = NULL, + .lb_access = NULL, }; return provider_init(ecore_x_display_get(), name, &table, NULL); diff --git a/src/lb.c b/src/lb.c index 61a33de..4bd77a7 100644 --- a/src/lb.c +++ b/src/lb.c @@ -889,7 +889,6 @@ HAPI int lb_destroy(const char *pkgname, const char *id) Eina_List *l; struct instance *inst; struct item *item; - int ret; inst = so_find_instance(pkgname, id); if (!inst) { @@ -923,7 +922,7 @@ HAPI int lb_destroy(const char *pkgname, const char *id) if (!item->monitor) { free(item); - ret = so_destroy(inst); + (void)so_destroy(inst); } return 0; @@ -1100,7 +1099,6 @@ HAPI int lb_is_pinned_up(const char *pkgname, const char *id) Eina_List *l; struct instance *inst; struct item *item; - int ret; inst = so_find_instance(pkgname, id); if (!inst) { @@ -1115,13 +1113,16 @@ HAPI int lb_is_pinned_up(const char *pkgname, const char *id) } item = eina_list_data_get(l); + if (!item) { + ErrPrint("Invalid item(%s - %s)\n", pkgname, id); + return -EFAULT; + } /*! * NOTE: * item is not used. * Maybe this is not neccessary for this operation */ - ret = so_is_pinned_up(inst); - return ret; + return so_is_pinned_up(inst); } HAPI int lb_change_group(const char *pkgname, const char *id, const char *cluster, const char *category) -- 2.7.4