Skip to content
Snippets Groups Projects
Commit 4b684b4b authored by Emmanuel Milou's avatar Emmanuel Milou
Browse files

Warnings removal in GTK+ client

parent c00e25b4
No related branches found
No related tags found
No related merge requests found
......@@ -616,7 +616,8 @@ update_call_tree_remove (calltab_t* tab, call_t * c)
void
update_call_tree (calltab_t* tab, call_t * c)
{
GdkPixbuf *pixbuf;
g_print("update call tree\n");
GdkPixbuf *pixbuf=NULL;
GtkTreeIter iter;
GValue val;
call_t * iterCall;
......@@ -737,7 +738,7 @@ update_call_tree_add (calltab_t* tab, call_t * c)
if( tab == history && ( call_list_get_size( tab ) > dbus_get_max_calls() ) )
return;
GdkPixbuf *pixbuf;
GdkPixbuf *pixbuf=NULL;
GtkTreeIter iter;
GtkTreeSelection* sel;
......@@ -804,6 +805,7 @@ update_call_tree_add (calltab_t* tab, call_t * c)
if (pixbuf != NULL)
g_object_unref(G_OBJECT(pixbuf));
sel = gtk_tree_view_get_selection(GTK_TREE_VIEW(tab->view));
gtk_tree_selection_select_iter(GTK_TREE_SELECTION(sel), &iter);
toolbar_update_buttons();
......
......@@ -26,7 +26,7 @@
static void
dialpad_pressed (GtkWidget * widget UNUSED, gpointer data)
{
gtk_widget_grab_focus(GTK_TREE_VIEW(current_calls->view));
gtk_widget_grab_focus(GTK_WIDGET(current_calls->view));
sflphone_keypad(0, (gchar*) data);
}
......
......@@ -36,7 +36,7 @@ is_visible(GtkTreeModel* model, GtkTreeIter* iter, gpointer data UNUSED)
if( SHOW_SEARCHBAR )
{
GValue val = {0,};
gchar* text;
gchar* text = NULL;
gchar* search = (gchar*)gtk_entry_get_text(GTK_ENTRY(filter_entry));
gtk_tree_model_get_value(GTK_TREE_MODEL(model), iter, 1, &val);
if(G_VALUE_HOLDS_STRING(&val)){
......
......@@ -127,7 +127,7 @@ create_slider(const gchar * device)
// which we don't want ;)
GtkWidget * ret;
int dev;
int dev=0;
if(strcmp(device, "speaker") == 0)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment