key down/up, accessibility feature added
authorSung-jae Park <nicesj.park@samsung.com>
Fri, 25 Jan 2013 11:09:20 +0000 (11:09 +0000)
committerSung-jae Park <nicesj.park@samsung.com>
Sun, 27 Jan 2013 04:10:09 +0000 (04:10 +0000)
Update spec

Change-Id: I5447a69010dafe967057f0cb5116f14295107fed

packaging/org.tizen.data-provider-slave.spec
src/client.c
src/lb.c

index 0b970ec..1d11eb3 100644 (file)
@@ -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
index 0656b2d..9d3db57 100644 (file)
@@ -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);
index 61a33de..4bd77a7 100644 (file)
--- 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)