mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-27 07:59:20 +00:00
??
git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@211 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
This commit is contained in:
parent
eddd0f8f63
commit
e09247cf67
4 changed files with 11 additions and 14 deletions
|
|
@ -341,12 +341,6 @@ static void *prompt_reader_thread(void *arg){
|
|||
have_prompt=TRUE;
|
||||
ms_mutex_unlock(&prompt_mutex);
|
||||
}
|
||||
/*
|
||||
ms_mutex_lock(&prompt_mutex);
|
||||
strcpy(received_prompt,"quit");
|
||||
have_prompt=TRUE;
|
||||
ms_mutex_unlock(&prompt_mutex);
|
||||
*/
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -674,13 +674,15 @@ static void linphone_gtk_init_main_window(){
|
|||
void linphone_gtk_close(){
|
||||
/* couldn't find a way to prevent closing to destroy the main window*/
|
||||
LinphoneCore *lc=linphone_gtk_get_core();
|
||||
/*shutdown call if any*/
|
||||
if (linphone_core_in_call(lc))
|
||||
linphone_core_terminate_call(lc,NULL);
|
||||
linphone_core_enable_video_preview(lc,FALSE);
|
||||
the_ui=NULL;
|
||||
the_ui=linphone_gtk_create_window("main");
|
||||
linphone_gtk_init_main_window();
|
||||
/*shutdown call if any*/
|
||||
if (linphone_core_in_call(lc)){
|
||||
linphone_core_terminate_call(lc,NULL);
|
||||
linphone_gtk_call_terminated(the_ui);
|
||||
}
|
||||
linphone_core_enable_video_preview(lc,FALSE);
|
||||
}
|
||||
|
||||
void linphone_gtk_log_handler(OrtpLogLevel lev, const char *fmt, va_list args){
|
||||
|
|
|
|||
|
|
@ -132,6 +132,9 @@ esac
|
|||
|
||||
AM_CONDITIONAL(BUILD_MACOSX, test x$macosx_found = xyes)
|
||||
|
||||
dnl initialize pkg-config so that we can use it within if else fi statements.
|
||||
PKG_PROG_PKG_CONFIG()
|
||||
|
||||
AC_SUBST(MSPLUGINS_CFLAGS)
|
||||
AC_SUBST(MSPLUGINS_LIBS)
|
||||
|
||||
|
|
@ -188,8 +191,6 @@ AC_ARG_ENABLE(artsc,
|
|||
|
||||
arts_enabled=false
|
||||
|
||||
PKG_PROG_PKG_CONFIG()
|
||||
|
||||
if test "$artsc" = "true" ; then
|
||||
|
||||
dnl check for arts (kde sound daemon) support
|
||||
|
|
|
|||
|
|
@ -52,10 +52,10 @@ static bool_t win32_init_sockets(void){
|
|||
WSADATA wsaData;
|
||||
int i;
|
||||
|
||||
wVersionRequested = MAKEWORD(1,1);
|
||||
wVersionRequested = MAKEWORD(2,0);
|
||||
if( (i = WSAStartup(wVersionRequested, &wsaData))!=0)
|
||||
{
|
||||
ortp_error("Unable to initialize windows socket api, reason: %d",i);
|
||||
ortp_error("Unable to initialize windows socket api, reason: %d (%s)",i,getWinSocketError(i));
|
||||
return FALSE;
|
||||
}
|
||||
return TRUE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue