unref the correct icon.

Tue Mar  9 11:01:45 2004  Jonathan Blandford  <jrb@gnome.org>

        * gtk/gtkpathbar.c (gtk_path_bar_finalize): unref the correct icon.
This commit is contained in:
Jonathan Blandford 2004-03-09 16:08:49 +00:00 committed by Jonathan Blandford
parent bf4ca3064f
commit 1aae6878fc
6 changed files with 21 additions and 1 deletions

View File

@ -1,3 +1,7 @@
Tue Mar 9 11:01:45 2004 Jonathan Blandford <jrb@gnome.org>
* gtk/gtkpathbar.c (gtk_path_bar_finalize): unref the correct icon.
2004-03-09 Morten Welinder <terra@gnome.org>
* tests/testfilechooser.c (main): Destroy widgets to reveal leaks.

View File

@ -1,3 +1,7 @@
Tue Mar 9 11:01:45 2004 Jonathan Blandford <jrb@gnome.org>
* gtk/gtkpathbar.c (gtk_path_bar_finalize): unref the correct icon.
2004-03-09 Morten Welinder <terra@gnome.org>
* tests/testfilechooser.c (main): Destroy widgets to reveal leaks.

View File

@ -1,3 +1,7 @@
Tue Mar 9 11:01:45 2004 Jonathan Blandford <jrb@gnome.org>
* gtk/gtkpathbar.c (gtk_path_bar_finalize): unref the correct icon.
2004-03-09 Morten Welinder <terra@gnome.org>
* tests/testfilechooser.c (main): Destroy widgets to reveal leaks.

View File

@ -1,3 +1,7 @@
Tue Mar 9 11:01:45 2004 Jonathan Blandford <jrb@gnome.org>
* gtk/gtkpathbar.c (gtk_path_bar_finalize): unref the correct icon.
2004-03-09 Morten Welinder <terra@gnome.org>
* tests/testfilechooser.c (main): Destroy widgets to reveal leaks.

View File

@ -1,3 +1,7 @@
Tue Mar 9 11:01:45 2004 Jonathan Blandford <jrb@gnome.org>
* gtk/gtkpathbar.c (gtk_path_bar_finalize): unref the correct icon.
2004-03-09 Morten Welinder <terra@gnome.org>
* tests/testfilechooser.c (main): Destroy widgets to reveal leaks.

View File

@ -150,7 +150,7 @@ gtk_path_bar_finalize (GObject *object)
if (path_bar->home_icon)
g_object_unref (path_bar->home_icon);
if (path_bar->root_icon)
g_object_unref (path_bar->home_icon);
g_object_unref (path_bar->root_icon);
if (path_bar->file_system)
g_object_unref (path_bar->file_system);