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); }