Switch the unown parameter to FALSE in the declaration of LinphoneFriendList

That commit doesn't fix anything but it is a better way to have
LinphoneFriendList objects created with a refcount to 1 systematically.
This commit is contained in:
François Grisez 2016-11-15 13:45:47 +01:00
parent 9757d69c1b
commit a14a8f9f21

View file

@ -361,7 +361,6 @@ static LinphoneFriendList * linphone_friend_list_new(void) {
LinphoneFriendList *list = belle_sip_object_new(LinphoneFriendList);
list->cbs = linphone_friend_list_cbs_new();
list->enable_subscriptions = TRUE;
belle_sip_object_ref(list);
return list;
}
@ -387,7 +386,7 @@ BELLE_SIP_INSTANCIATE_VPTR(LinphoneFriendList, belle_sip_object_t,
(belle_sip_object_destroy_t)linphone_friend_list_destroy,
NULL, // clone
NULL, // marshal
TRUE
FALSE
);