mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-12 22:09:25 +08:00
unsigned comparison fixed
This commit is contained in:
@ -92,7 +92,7 @@ stun_state( void )
|
||||
void
|
||||
show_account_window (account_t * a)
|
||||
{
|
||||
guint response;
|
||||
gint response;
|
||||
GtkWidget *image;
|
||||
|
||||
currentAccount = a;
|
||||
|
@ -143,7 +143,7 @@ sflphone_fill_account_list(gboolean toolbarInitialized)
|
||||
}
|
||||
g_strfreev (array);
|
||||
|
||||
int i;
|
||||
unsigned int i;
|
||||
for( i = 0; i < account_list_get_size(); i++)
|
||||
{
|
||||
account_t * a = account_list_get_nth (i);
|
||||
|
@ -57,7 +57,7 @@ config_window_fill_codec_list()
|
||||
gtk_list_store_clear(codecStore);
|
||||
|
||||
// Insert codecs
|
||||
int i;
|
||||
unsigned int i;
|
||||
for(i = 0; i < codec_list_get_size(); i++)
|
||||
{
|
||||
codec_t *c = codec_list_get_nth(i);
|
||||
|
@ -104,7 +104,7 @@ call_list_add (calltab_t* tab, call_t * c)
|
||||
void
|
||||
call_list_clean_history( void )
|
||||
{
|
||||
int i;
|
||||
unsigned int i;
|
||||
guint size = call_list_get_size( history );
|
||||
g_print("history list size = %i\n", call_list_get_size( history ));
|
||||
for( i = 0 ; i < size ; i++ )
|
||||
|
@ -68,7 +68,7 @@ is_inserted( GtkWidget* button )
|
||||
}
|
||||
|
||||
static gboolean
|
||||
button_pressed(GtkWidget* widget, GdkEventButton *event, gpointer user_data)
|
||||
button_pressed(GtkWidget* widget, GdkEventButton *event, gpointer user_data UNUSED)
|
||||
{
|
||||
if (event->button == 3 && event->type == GDK_BUTTON_PRESS)
|
||||
{
|
||||
|
@ -128,7 +128,7 @@ codec_list_move_codec_up(guint index)
|
||||
}
|
||||
|
||||
// DEBUG
|
||||
int i;
|
||||
unsigned int i;
|
||||
printf("\nCodec list\n");
|
||||
for(i=0; i < codecQueue->length; i++)
|
||||
printf("%s\n", codec_list_get_nth(i)->name);
|
||||
@ -147,7 +147,7 @@ codec_list_move_codec_down(guint index)
|
||||
}
|
||||
|
||||
// PRINT
|
||||
int i;
|
||||
unsigned int i;
|
||||
printf("\nCodec list\n");
|
||||
for(i=0; i < codecQueue->length; i++)
|
||||
printf("%s\n", codec_list_get_nth(i)->name);
|
||||
|
@ -74,7 +74,7 @@ config_window_fill_account_list()
|
||||
GtkTreeIter iter;
|
||||
|
||||
gtk_list_store_clear(accountStore);
|
||||
int i;
|
||||
unsigned int i;
|
||||
for(i = 0; i < account_list_get_size(); i++)
|
||||
{
|
||||
account_t * a = account_list_get_nth (i);
|
||||
@ -97,22 +97,6 @@ config_window_fill_account_list()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Refresh all audio settings
|
||||
*/
|
||||
static void
|
||||
detect_all_audio_settings()
|
||||
{
|
||||
// Update lists
|
||||
config_window_fill_output_audio_device_list();
|
||||
config_window_fill_input_audio_device_list();
|
||||
|
||||
// Select active device in combo box
|
||||
//select_active_output_audio_device();
|
||||
//select_active_input_audio_device();
|
||||
}
|
||||
|
||||
/**
|
||||
* Delete an account
|
||||
*/
|
||||
|
@ -61,7 +61,7 @@ gboolean
|
||||
main_window_ask_quit(){
|
||||
guint count = call_list_get_size(current_calls);
|
||||
GtkWidget * dialog;
|
||||
guint response;
|
||||
gint response;
|
||||
gchar * question;
|
||||
|
||||
if(count == 1)
|
||||
|
@ -449,7 +449,7 @@ edit_paste ( void * foo UNUSED)
|
||||
case CALL_STATE_CURRENT:
|
||||
default:
|
||||
{
|
||||
int i;
|
||||
unsigned int i;
|
||||
for(i = 0; i < strlen(no); i++)
|
||||
{
|
||||
gchar * oneNo = g_strndup(&no[i], 1);
|
||||
@ -805,7 +805,7 @@ show_popup_menu (GtkWidget *my_widget, GdkEventButton *event)
|
||||
gtk_menu_shell_append (GTK_MENU_SHELL (menu), menu_items);
|
||||
gtk_widget_show (menu_items);
|
||||
|
||||
int i;
|
||||
unsigned int i;
|
||||
account_t* acc;
|
||||
gchar* alias;
|
||||
for( i = 0 ; i < account_list_get_size() ; i++ ){
|
||||
|
@ -30,7 +30,7 @@ GtkWidget * show_menu_item;
|
||||
gboolean __minimized = MINIMIZED;
|
||||
|
||||
void
|
||||
status_quit ( void * foo )
|
||||
status_quit ( void * foo UNUSED)
|
||||
{
|
||||
sflphone_quit();
|
||||
}
|
||||
|
Reference in New Issue
Block a user