Fix the prevent issue.
authorSung-jae Park <nicesj.park@samsung.com>
Thu, 24 Jan 2013 05:35:22 +0000 (05:35 +0000)
committerSung-jae Park <nicesj.park@samsung.com>
Thu, 24 Jan 2013 05:35:22 +0000 (05:35 +0000)
Revise the smack manifest file

Change-Id: Ibf3524dbc00e54e7c651fb1bab595a3664365d19

com.samsung.data-provider-slave.manifest
packaging/com.samsung.data-provider-slave.spec
src/client.c

index ed29189..13de4ad 100644 (file)
@@ -4,16 +4,14 @@
                <domain name="com.samsung.data-provider-slave" policy="restricted" />
        </define>
        <request>
-               <domain name="com.samsung.data-provider-slave" />
+               <domain name="_" />
        </request>
 
        <assign>
                <!-- Executable file -->
-               <!-- "_" should be replaced with "data-provider-slave::bin" -->
                <filesystem path="/usr/apps/com.samsung.data-provider-slave/bin/data-provider-slave" label="com.samsung.data-provider-slave" exec_label="com.samsung.data-provider-slave" />
 
                <!-- For the package manager -->
-               <!-- <filesystem path="/usr/share/applications/com.samsung.data-provider-slave.desktop" label="_" /> -->
                <filesystem path="/usr/share/packages/com.samsung.data-provider-slave.xml" label="_" />
        </assign>
 </manifest>
index ad60858..a289d19 100644 (file)
@@ -1,6 +1,6 @@
 Name: com.samsung.data-provider-slave
 Summary: Slave data provider
-Version: 0.9.1
+Version: 0.9.2
 Release: 1
 Group: main/app
 License: Flora License
index b1751d7..0656b2d 100644 (file)
@@ -332,13 +332,12 @@ HAPI int client_init(const char *name)
                .lb_resume = method_lb_resume,
        };
 
-       provider_init(ecore_x_display_get(), name, &table, NULL);
-       return 0;
+       return provider_init(ecore_x_display_get(), name, &table, NULL);
 }
 
 HAPI int client_fini(void)
 {
-       provider_fini();
+       (void)provider_fini();
        return 0;
 }