diff --git a/src/profile.c b/src/profile.c
index c7c791c..9c8cfa0 100644
--- a/src/profile.c
+++ b/src/profile.c
g_free(p);
}
-void btd_profile_remove_custom_prop(const char *uuid, const char *name)
+bool btd_profile_remove_custom_prop(const char *uuid, const char *name)
{
GSList *l;
custom_props = g_slist_delete_link(custom_props, l);
free_property(prop);
+ return true;
}
+
+ return false;
}
void btd_profile_init(void)
diff --git a/src/profile.h b/src/profile.h
index fe332d9..27ccdd3 100644
--- a/src/profile.h
+++ b/src/profile.h
btd_profile_prop_exists exists,
btd_profile_prop_get get,
void *user_data);
-void btd_profile_remove_custom_prop(const char *uuid, const char *name);
+bool btd_profile_remove_custom_prop(const char *uuid, const char *name);
void btd_profile_init(void);
void btd_profile_cleanup(void);