From 7a7cfb17e6eaf8f4685f2e7850cc6df061b53623 Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Thu, 19 Jan 2017 17:47:10 +0100 Subject: [PATCH] Do not include private.h in gtk. --- gtk/linphone.h | 1 - gtk/propertybox.c | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/gtk/linphone.h b/gtk/linphone.h index 56d1eb119..796ee8fb2 100644 --- a/gtk/linphone.h +++ b/gtk/linphone.h @@ -39,7 +39,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #undef alloca #endif #include "linphone/core.h" -#include "private.h" #include "linphone/ldapprovider.h" diff --git a/gtk/propertybox.c b/gtk/propertybox.c index 3a0e5de8a..a8c14b978 100644 --- a/gtk/propertybox.c +++ b/gtk/propertybox.c @@ -469,8 +469,7 @@ void linphone_gtk_cam_changed(GtkWidget *w){ gchar *sel=gtk_combo_box_get_active_text(GTK_COMBO_BOX(w)); linphone_core_set_video_device(linphone_gtk_get_core(),sel); if ((call = linphone_core_get_current_call(lc)) != NULL) { - //linphone_core_update_call(lc, call, call->params); - video_stream_change_camera(call->videostream, lc->video_conf.device); + linphone_core_update_call(lc, call, NULL); } g_free(sel); }