Commit 52da7058 authored by Simon Morlat's avatar Simon Morlat

remove g_list_free_full(), that requires glib>2.26

parent 8e9da52a
......@@ -352,7 +352,8 @@ static void linphone_gtk_configure_window(GtkWidget *w, const char *window_name)
pbuf_list = g_list_append(pbuf_list, pbuf_32);
gtk_window_set_icon_list(GTK_WINDOW(w), pbuf_list);
gtk_window_set_default_icon_list(pbuf_list);
g_list_free_full(pbuf_list, g_object_unref);
g_list_foreach(pbuf_list, (GFunc)g_object_unref,NULL);
g_list_free(pbuf_list);
}
}
}
......
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