mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-25 07:08:11 +00:00
Fix compilation errors.
This commit is contained in:
parent
1cb1d7c5eb
commit
751fc90886
2 changed files with 4 additions and 4 deletions
|
|
@ -317,8 +317,8 @@ void linphone_gtk_call_log_update(GtkWidget *w){
|
|||
lf=linphone_core_get_friend_by_address(linphone_gtk_get_core(),addr);
|
||||
if(lf != NULL){
|
||||
/*update display name from friend*/
|
||||
const char *name = linphone_friend_get_name(lf);
|
||||
if (name != NULL) linphone_address_set_display_name(la, name);
|
||||
display = linphone_friend_get_name(lf);
|
||||
if (display != NULL) linphone_address_set_display_name(la, display);
|
||||
} else {
|
||||
display=linphone_address_get_display_name(la);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -97,8 +97,8 @@ static void linphone_gtk_set_selection_to_uri_bar(GtkTreeView *treeview){
|
|||
friend=linphone_address_as_string(addr);
|
||||
gtk_entry_set_text(GTK_ENTRY(linphone_gtk_get_widget(linphone_gtk_get_main_window(),"uribar")),friend);
|
||||
linphone_address_unref(addr);
|
||||
ms_free(friend);
|
||||
}
|
||||
ms_free(friend);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -608,7 +608,7 @@ static int get_friend_weight(const LinphoneFriend *lf){
|
|||
int w=0;
|
||||
LinphoneCore *lc=linphone_gtk_get_core();
|
||||
LinphoneAddress *addr = linphone_friend_get_address(lf);
|
||||
LinphoneChatRoom *cr;
|
||||
LinphoneChatRoom *cr = NULL;
|
||||
|
||||
if (addr != NULL) {
|
||||
cr = linphone_core_get_chat_room(lc, addr);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue