-Woo-Young Kim <woo02.kim@samsung.com>
-Bono Koo <mw.koo@samsung.com>
-Ki-Sun SHIN <kisun47.shin@samsung.com>
-bosung kwak <bosung.kwak@samsung.com>
-Areum Choi <arumi.choi@samsung.com>
\ No newline at end of file
+Jongmun Woo <jongmun.woo@samsung.com>
+Young-Ae Kang <youngae.kang@samsung.com>
+Kyoungjun Sung <kj7.sung@samsung.com>
+Karthik Paulraj <p.karthik@samsung.com>
+VENKATAKOTIVIJAYALAKSHMINARAYA <lnarayana.k@samsung.com>
\ No newline at end of file
License: Apache-2.0
Source0: geofence-dbus-%{version}.tar.gz
-%if "%{?tizen_profile_name}" == "tv"
+%if "%{?profile}" == "tv"
ExcludeArch: %{arm} %ix86 x86_64
%endif
rm -rf %{buildroot}
%make_install
-%post -p /sbin/ldconfig
+%post -n libgeofence-dbus -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%postun -n libgeofence-dbus -p /sbin/ldconfig
%files -n libgeofence-dbus
*/
#include <stdio.h>
+#include <glib.h>
#include "generated-code.h"
#include "geofence_dbus_server.h"
/* register callback for each methods for geofence */
geofence = sloc_object_get_geofence(SLOC_OBJECT(ctx->obj_skeleton));
}
- g_return_if_fail(geofence);
+ if (geofence == NULL)
+ return;
if (ctx->add_geofence_cb)
ctx->add_geofence_h = g_signal_connect(geofence, "handle-add-geofence", G_CALLBACK(on_add_geofence), ctx); /* user_data */