}
static void __esd_launch_event_handler(char *event_name, bundle *data,
- const bool is_user_event, const bool trusted,
+ const bool is_user_event, gboolean trusted,
const uid_t sender_uid, char *sender_appid, void *user_data)
{
const char *val;
eep->sender_uid = sender_uid;
eep->sender_appid = sender_appid;
eep->is_user_event = is_user_event;
- eep->trusted = trusted;
+ eep->trusted = (bool)trusted;
eep->user_data = (void *)user_data;
__esd_check_event_launch_with_eventid(el_item, eep);
free(eep);
if (__esd_check_event_launch_support(event_name))
__esd_launch_event_handler(event_name, data,
- false, true, ROOT_USER, NULL, user_data);
+ false, TRUE, ROOT_USER, NULL, user_data);
}
static void __esd_trusted_busname_remove_item(char *bus_name)
GVariant *param;
int result = ES_R_OK;
int len;
- bool trusted;
+ gboolean trusted;
int sender_pid;
uid_t sender_uid;
char *event_name;