gtk/gtkfilesystemmodel.c (do_files_added): Use the correct function to

2004-09-06  Kjartan Maraas  <kmaraas@gnome.org>

	gtk/gtkfilesystemmodel.c (do_files_added): Use the correct
	function to free stuff. Avoids a leak and a warning.
This commit is contained in:
Kjartan Maraas
2004-09-06 15:21:45 +00:00
committed by Kjartan Maraas
parent 517f9e62db
commit a033cc27e4
5 changed files with 25 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
2004-09-06 Kjartan Maraas <kmaraas@gnome.org>
gtk/gtkfilesystemmodel.c (do_files_added): Use the correct
function to free stuff. Avoids a leak and a warning.
Closes bug #151985
Sat Sep 4 23:42:09 2004 Matthias Clasen <maclas@gmx.de>
* configure.in: Fix the Solaris Xinerama checks. (#151754)

View File

@@ -1,3 +1,9 @@
2004-09-06 Kjartan Maraas <kmaraas@gnome.org>
gtk/gtkfilesystemmodel.c (do_files_added): Use the correct
function to free stuff. Avoids a leak and a warning.
Closes bug #151985
Sat Sep 4 23:42:09 2004 Matthias Clasen <maclas@gmx.de>
* configure.in: Fix the Solaris Xinerama checks. (#151754)

View File

@@ -1,3 +1,9 @@
2004-09-06 Kjartan Maraas <kmaraas@gnome.org>
gtk/gtkfilesystemmodel.c (do_files_added): Use the correct
function to free stuff. Avoids a leak and a warning.
Closes bug #151985
Sat Sep 4 23:42:09 2004 Matthias Clasen <maclas@gmx.de>
* configure.in: Fix the Solaris Xinerama checks. (#151754)

View File

@@ -1,3 +1,9 @@
2004-09-06 Kjartan Maraas <kmaraas@gnome.org>
gtk/gtkfilesystemmodel.c (do_files_added): Use the correct
function to free stuff. Avoids a leak and a warning.
Closes bug #151985
Sat Sep 4 23:42:09 2004 Matthias Clasen <maclas@gmx.de>
* configure.in: Fix the Solaris Xinerama checks. (#151754)

View File

@@ -1594,7 +1594,7 @@ do_files_added (GtkFileSystemModel *model,
if (new->is_visible)
{
iter.user_data = new;
gtk_file_path_free (path);
gtk_tree_path_free (path);
path = gtk_tree_model_get_path (tree_model, &iter);
gtk_tree_model_row_inserted (tree_model, path, &iter);