free_uri_list() does the same as gnome_vfs_uri_list_free(). Remove the

2006-11-17  Felix Riemann  <friemann@cvs.gnome.org>

	* shell/main.c: (load_context_free): free_uri_list() does the same as
	gnome_vfs_uri_list_free(). Remove the former.
This commit is contained in:
Felix Riemann 2006-11-17 14:05:08 +00:00 committed by Felix Riemann
parent 22ea764222
commit 6ac4029ca8
2 changed files with 6 additions and 14 deletions

View file

@ -1,3 +1,8 @@
2006-11-17 Felix Riemann <friemann@cvs.gnome.org>
* shell/main.c: (load_context_free): free_uri_list() does the same as
gnome_vfs_uri_list_free(). Remove the former.
2006-11-16 Felix Riemann <friemann@cvs.gnome.org>
* acconfig.h:

View file

@ -105,19 +105,6 @@ eog_get_localedir (void)
#endif /* G_OS_WIN32 */
static void
free_uri_list (GList *list)
{
GList *it;
for (it = list; it != NULL; it = it->next) {
gnome_vfs_uri_unref ((GnomeVFSURI*)it->data);
}
if (list != NULL)
g_list_free (list);
}
static void
free_string_list (GList *list)
{
@ -136,7 +123,7 @@ load_context_free (LoadContext *ctx)
{
if (ctx == NULL) return;
free_uri_list (ctx->uri_list);
gnome_vfs_uri_list_free (ctx->uri_list);
if (ctx->img_list != NULL)
g_object_unref (ctx->img_list);
ctx->img_list = NULL;