Change-Id: I735423c5f3fddcf9ddb4ef2fc9e5bcb59ae9c55d
Signed-off-by: chanywa <cbible.kim@samsung.com>
#include <gio/gio.h>
#define SERVICE_ENABLER_NAME "org.example.tizen-service-enabler"
-#define SERVICE_ENABLER_PATH "/org/example/tizen-service-enabler"
+#define SERVICE_ENABLER_PATH "/org/example/TizenServiceEnabler"
+#define SERVICE_ENABLER_INTERFACE "org.example.TizenServiceEnabler"
#endif
NULL,
SERVICE_ENABLER_NAME,
SERVICE_ENABLER_PATH,
- SERVICE_ENABLER_NAME,
+ SERVICE_ENABLER_INTERFACE,
proxy_cancel,
&gerror);
if (!bproxy) {
DEBUG_LOG("g_dbus_proxy_new_for_bus_sync error [%s]",
- gerror->message);
+ (gerror ? gerror->message : "null"));
ret = -1;
goto EXIT;
}
if (!result) {
DEBUG_LOG("g_dbus_proxy_call_sync 'Hello' error [%s]",
- gerror->message);
+ (gerror ? gerror->message : "null"));
ret = -1;
goto EXIT;
}