forked from AuroraMiddleware/gtk
Patch from Damon Chaplin to free models when we're finalized, #134053
Fri Mar 5 02:53:41 2004 Jonathan Blandford <jrb@gnome.org> * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_finalize): Patch from Damon Chaplin to free models when we're finalized, #134053
This commit is contained in:
parent
8a8798bdbc
commit
233b7b8be6
@ -1,3 +1,9 @@
|
||||
Fri Mar 5 02:53:41 2004 Jonathan Blandford <jrb@gnome.org>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_finalize):
|
||||
Patch from Damon Chaplin to free models when we're finalized,
|
||||
#134053
|
||||
|
||||
2004-03-05 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gtk/gtkfilesystem.c (gtk_file_system_get_volume_for_path):
|
||||
|
@ -1,3 +1,9 @@
|
||||
Fri Mar 5 02:53:41 2004 Jonathan Blandford <jrb@gnome.org>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_finalize):
|
||||
Patch from Damon Chaplin to free models when we're finalized,
|
||||
#134053
|
||||
|
||||
2004-03-05 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gtk/gtkfilesystem.c (gtk_file_system_get_volume_for_path):
|
||||
|
@ -1,3 +1,9 @@
|
||||
Fri Mar 5 02:53:41 2004 Jonathan Blandford <jrb@gnome.org>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_finalize):
|
||||
Patch from Damon Chaplin to free models when we're finalized,
|
||||
#134053
|
||||
|
||||
2004-03-05 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gtk/gtkfilesystem.c (gtk_file_system_get_volume_for_path):
|
||||
|
@ -1,3 +1,9 @@
|
||||
Fri Mar 5 02:53:41 2004 Jonathan Blandford <jrb@gnome.org>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_finalize):
|
||||
Patch from Damon Chaplin to free models when we're finalized,
|
||||
#134053
|
||||
|
||||
2004-03-05 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gtk/gtkfilesystem.c (gtk_file_system_get_volume_for_path):
|
||||
|
@ -1,3 +1,9 @@
|
||||
Fri Mar 5 02:53:41 2004 Jonathan Blandford <jrb@gnome.org>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_finalize):
|
||||
Patch from Damon Chaplin to free models when we're finalized,
|
||||
#134053
|
||||
|
||||
2004-03-05 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gtk/gtkfilesystem.c (gtk_file_system_get_volume_for_path):
|
||||
|
@ -551,6 +551,22 @@ gtk_file_chooser_default_finalize (GObject *object)
|
||||
if (impl->preview_path)
|
||||
gtk_file_path_free (impl->preview_path);
|
||||
|
||||
/* Free all the Models we have */
|
||||
if (impl->browse_files_model)
|
||||
g_object_unref (impl->browse_files_model);
|
||||
|
||||
if (impl->browse_directories_model)
|
||||
g_object_unref (impl->browse_directories_model);
|
||||
|
||||
if (impl->shortcuts_model)
|
||||
g_object_unref (impl->shortcuts_model);
|
||||
|
||||
if (impl->shortcuts_filter_model)
|
||||
g_object_unref (impl->shortcuts_filter_model);
|
||||
|
||||
if (impl->sort_model)
|
||||
g_object_unref (impl->sort_model);
|
||||
|
||||
g_free (impl->preview_display_name);
|
||||
|
||||
G_OBJECT_CLASS (parent_class)->finalize (object);
|
||||
|
Loading…
Reference in New Issue
Block a user