From 1aae6878fc1c2c10a4625ed73c20105ab320909b Mon Sep 17 00:00:00 2001 From: Jonathan Blandford Date: Tue, 9 Mar 2004 16:08:49 +0000 Subject: [PATCH] unref the correct icon. Tue Mar 9 11:01:45 2004 Jonathan Blandford * gtk/gtkpathbar.c (gtk_path_bar_finalize): unref the correct icon. --- ChangeLog | 4 ++++ ChangeLog.pre-2-10 | 4 ++++ ChangeLog.pre-2-4 | 4 ++++ ChangeLog.pre-2-6 | 4 ++++ ChangeLog.pre-2-8 | 4 ++++ gtk/gtkpathbar.c | 2 +- 6 files changed, 21 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 2fc8926fd9..5c29173ef4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Tue Mar 9 11:01:45 2004 Jonathan Blandford + + * gtk/gtkpathbar.c (gtk_path_bar_finalize): unref the correct icon. + 2004-03-09 Morten Welinder * tests/testfilechooser.c (main): Destroy widgets to reveal leaks. diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 2fc8926fd9..5c29173ef4 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,7 @@ +Tue Mar 9 11:01:45 2004 Jonathan Blandford + + * gtk/gtkpathbar.c (gtk_path_bar_finalize): unref the correct icon. + 2004-03-09 Morten Welinder * tests/testfilechooser.c (main): Destroy widgets to reveal leaks. diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 2fc8926fd9..5c29173ef4 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,7 @@ +Tue Mar 9 11:01:45 2004 Jonathan Blandford + + * gtk/gtkpathbar.c (gtk_path_bar_finalize): unref the correct icon. + 2004-03-09 Morten Welinder * tests/testfilechooser.c (main): Destroy widgets to reveal leaks. diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 2fc8926fd9..5c29173ef4 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,7 @@ +Tue Mar 9 11:01:45 2004 Jonathan Blandford + + * gtk/gtkpathbar.c (gtk_path_bar_finalize): unref the correct icon. + 2004-03-09 Morten Welinder * tests/testfilechooser.c (main): Destroy widgets to reveal leaks. diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 2fc8926fd9..5c29173ef4 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,7 @@ +Tue Mar 9 11:01:45 2004 Jonathan Blandford + + * gtk/gtkpathbar.c (gtk_path_bar_finalize): unref the correct icon. + 2004-03-09 Morten Welinder * tests/testfilechooser.c (main): Destroy widgets to reveal leaks. diff --git a/gtk/gtkpathbar.c b/gtk/gtkpathbar.c index a0b24f7769..be0ba74496 100644 --- a/gtk/gtkpathbar.c +++ b/gtk/gtkpathbar.c @@ -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);