Commit 8881c805 authored by Ettore Perazzoli's avatar Ettore Perazzoli

Use `gnome_vfs_file_info_unref', not `gnome_vfs_file_info_destroy'.

parent 3067cd62
2000-01-18 Ettore Perazzoli <ettore@helixcode.com>
* src/file-manager/dfos-xfer.c (xfer_info_destroy): Removed `#if
0'ed out function.
* src/ntl-uri-map.c (nautilus_navinfo_new): Use
`gnome_vfs_file_info_unref()' instead of
`gnome_vfs_file_info_destroy()'.
2000-01-18 Andy Hertzfeld <andy@eazel.com>
* libnautilus/gnome-icon-container-private.h:
......
......@@ -62,14 +62,6 @@ xfer_info_new (GnomeVFSAsyncHandle *handle,
return new;
}
#if 0
static void
xfer_info_destroy (XferInfo *info)
{
g_free (info);
}
#endif
static void
xfer_dialog_clicked_callback (DFOSXferProgressDialog *dialog,
gint button_number,
......
......@@ -62,14 +62,6 @@ xfer_info_new (GnomeVFSAsyncHandle *handle,
return new;
}
#if 0
static void
xfer_info_destroy (XferInfo *info)
{
g_free (info);
}
#endif
static void
xfer_dialog_clicked_callback (DFOSXferProgressDialog *dialog,
gint button_number,
......
......@@ -62,14 +62,6 @@ xfer_info_new (GnomeVFSAsyncHandle *handle,
return new;
}
#if 0
static void
xfer_info_destroy (XferInfo *info)
{
g_free (info);
}
#endif
static void
xfer_dialog_clicked_callback (DFOSXferProgressDialog *dialog,
gint button_number,
......
......@@ -266,13 +266,13 @@ nautilus_navinfo_new(Nautilus_NavigationRequestInfo *nri,
meta_keys);
if(res != GNOME_VFS_OK)
{
gnome_vfs_file_info_destroy(vfs_fileinfo);
gnome_vfs_file_info_unref(vfs_fileinfo);
nautilus_navinfo_free(navinfo); navinfo = NULL;
goto out;
}
navinfo->navinfo.content_type = g_strdup(gnome_vfs_file_info_get_mime_type(vfs_fileinfo));
gnome_vfs_file_info_destroy(vfs_fileinfo);
gnome_vfs_file_info_unref(vfs_fileinfo);
}
......
......@@ -266,13 +266,13 @@ nautilus_navinfo_new(Nautilus_NavigationRequestInfo *nri,
meta_keys);
if(res != GNOME_VFS_OK)
{
gnome_vfs_file_info_destroy(vfs_fileinfo);
gnome_vfs_file_info_unref(vfs_fileinfo);
nautilus_navinfo_free(navinfo); navinfo = NULL;
goto out;
}
navinfo->navinfo.content_type = g_strdup(gnome_vfs_file_info_get_mime_type(vfs_fileinfo));
gnome_vfs_file_info_destroy(vfs_fileinfo);
gnome_vfs_file_info_unref(vfs_fileinfo);
}
......
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