Commit affa9110 authored by smorlat's avatar smorlat

-fix compile on on non __linux systesm

-glade ui configuration



git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@172 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
parent 4fd9563e
......@@ -633,7 +633,19 @@ static void linphone_gtk_check_menu_items(void){
audio_only ? "audio_only_item" : "video_item")), TRUE);
}
static void linphone_gtk_configure_main_window(){
static LpConfig *conf=NULL;
static int show_digits=1;
GtkWidget *w=linphone_gtk_get_main_window();
if (conf==NULL){
conf=linphone_core_get_config(linphone_gtk_get_core());
show_digits=lp_config_get_int(conf,"GtkUi","show_digits",show_digits);
}
if (show_digits==0) gtk_widget_hide(linphone_gtk_get_widget(w,"dialpad"));
}
static void linphone_gtk_init_main_window(){
linphone_gtk_configure_main_window();
load_uri_history();
linphone_gtk_load_identities();
linphone_gtk_set_my_presence(linphone_core_get_presence_info(linphone_gtk_get_core()));
......
This diff is collapsed.
......@@ -776,7 +776,7 @@ stunRand(void)
read(fd,&tick,sizeof(tick));
closesocket(fd);
}
#elif defined(__linux)
#elif defined(__linux) || defined(HAVE_DEV_RANDOM)
{
fd_set fdSet;
int maxFd=0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment