mirror of
https://gitlab.gnome.org/GNOME/eog
synced 2024-10-18 14:04:27 +00:00
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:
parent
22ea764222
commit
6ac4029ca8
|
@ -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:
|
||||
|
|
15
shell/main.c
15
shell/main.c
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue