diff options
author | Alexander Larsson <alexl@redhat.com> | 2009-09-07 21:09:11 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2009-09-07 21:09:11 +0200 |
commit | 2434bd43cd43eb8ba97b1a956e4b3cd734cf2a91 (patch) | |
tree | e275ccb656e37f61e2b1e770eeb33e7b75ce6f95 /src/nautilus-spatial-window.c | |
parent | b4cd0d66db105822bfa5531a146428b548aff369 (diff) | |
download | nautilus-2434bd43cd43eb8ba97b1a956e4b3cd734cf2a91.tar.gz |
Fix usage of sink, fixing many recently introduced leaks.
The conversion away from gtk_object_sink was done wrongly
causing lots of leaks. fix this.
Diffstat (limited to 'src/nautilus-spatial-window.c')
-rw-r--r-- | src/nautilus-spatial-window.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nautilus-spatial-window.c b/src/nautilus-spatial-window.c index 852d11967..3e289549e 100644 --- a/src/nautilus-spatial-window.c +++ b/src/nautilus-spatial-window.c @@ -744,6 +744,7 @@ location_button_clicked_callback (GtkWidget *widget, gtk_grab_remove (popup); g_main_loop_unref (loop); g_object_ref_sink (popup); + g_object_unref (popup); } static int |