int event_type, eventsystem_cb callback, void *user_data);
static void __destroy_eventmap(gpointer data);
static int __eventsystem_launch_on_event_for_userevent(const char *event_name,
- bundle *data, const bool trusted);
+ bundle *data, gboolean trusted);
static int __event_compare_reg_id_cb(gconstpointer a, gconstpointer b)
{
goto out;
}
- if (__eventsystem_launch_on_event_for_userevent(evti->event_name, data, true) < 0)
+ if (__eventsystem_launch_on_event_for_userevent(evti->event_name, data, TRUE) < 0)
_E("Failed to launch on event for userevent");
} else {
if (__eventsystem_send_event(conn, evti, data) < 0) {
goto out;
}
- if (__eventsystem_launch_on_event_for_userevent(evti->event_name, data, false) < 0)
+ if (__eventsystem_launch_on_event_for_userevent(evti->event_name, data, FALSE) < 0)
_E("Failed to launch on event for userevent");
}
} else {
}
static int __eventsystem_launch_on_event_for_userevent(const char *event_name,
- bundle *data, const bool trusted)
+ bundle *data, gboolean trusted)
{
int ret = ES_R_EINVAL;
GDBusConnection *conn = NULL;