Do not include private.h in gtk.

This commit is contained in:
Ghislain MARY 2017-01-19 17:47:10 +01:00
parent 97c5b8f919
commit 7a7cfb17e6
2 changed files with 1 additions and 3 deletions

View file

@ -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"

View file

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