Bug 554690 – mem leak in filechooser
svn path=/trunk/; revision=21567
This commit is contained in:
parent
7d76b604ac
commit
ab7aa3e113
2 changed files with 15 additions and 2 deletions
|
|
@ -1,3 +1,9 @@
|
|||
2008-10-02 Christian Persch
|
||||
|
||||
Bug 554690 – mem leak in filechooser
|
||||
|
||||
* gtk/gtkfilechooserdefault.c: Plug a mem leak.
|
||||
|
||||
2008-10-02 Michael Natterer <mitch@imendio.com>
|
||||
|
||||
Bug 553585 – Add orientation API to GtkRuler
|
||||
|
|
|
|||
|
|
@ -2074,10 +2074,17 @@ shortcuts_add_volumes (GtkFileChooserDefault *impl)
|
|||
if (_gtk_file_system_volume_is_mounted (volume))
|
||||
{
|
||||
GFile *base_file;
|
||||
gboolean base_is_native = TRUE;
|
||||
|
||||
base_file = _gtk_file_system_volume_get_root (volume);
|
||||
if (base_file != NULL && !g_file_is_native (base_file))
|
||||
continue;
|
||||
if (base_file != NULL)
|
||||
{
|
||||
base_is_native = g_file_is_native (base_file);
|
||||
g_object_unref (base_file);
|
||||
}
|
||||
|
||||
if (!base_is_native)
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue