diff options
author | Maciej Stachowiak <mstachow@src.gnome.org> | 2000-05-07 20:10:15 +0000 |
---|---|---|
committer | Maciej Stachowiak <mstachow@src.gnome.org> | 2000-05-07 20:10:15 +0000 |
commit | 0599c6bcdf60f9eba64130e33426d0938708ef4f (patch) | |
tree | 2d928be3a302948f18195bd3f690e8d908e9c60e | |
parent | c1f4d70b133df273584eb0b49e5ebb3fa340565c (diff) | |
download | nautilus-0599c6bcdf60f9eba64130e33426d0938708ef4f.tar.gz |
Fix bugzilla.eazel.com task 479:
* libnautilus/nautilus-clipboard.c
(nautilus_clipboard_info_destroy),
(nautilus_clipboard_info_set_view_frame): Do not ref and unref the
view_frame. Because the NautilusClipboardInfo will only be
destroyed when the view_frame is destroyed in the normal use case,
if it holds a ref on the view_frame it will prevent it from ever
being destroyed. This was causing the notes and history view
processes to stay around forever.
-rw-r--r-- | ChangeLog | 14 | ||||
-rw-r--r-- | libnautilus/nautilus-clipboard.c | 3 |
2 files changed, 14 insertions, 3 deletions
@@ -1,3 +1,17 @@ +2000-05-07 Maciej Stachowiak <mjs@eazel.com> + + + Fix bugzilla.eazel.com task 479: + + * libnautilus/nautilus-clipboard.c + (nautilus_clipboard_info_destroy), + (nautilus_clipboard_info_set_view_frame): Do not ref and unref the + view_frame. Because the NautilusClipboardInfo will only be + destroyed when the view_frame is destroyed in the normal use case, + if it holds a ref on the view_frame it will prevent it from ever + being destroyed. This was causing the notes and history view + processes to stay around forever. + 2000-05-06 John Sullivan <sullivan@eazel.com> Fixed up code that limits how small icons are before they diff --git a/libnautilus/nautilus-clipboard.c b/libnautilus/nautilus-clipboard.c index 750b1f7b3..e985a0e78 100644 --- a/libnautilus/nautilus-clipboard.c +++ b/libnautilus/nautilus-clipboard.c @@ -111,8 +111,6 @@ void nautilus_clipboard_info_destroy (NautilusClipboardInfo *info) { - bonobo_object_unref (BONOBO_OBJECT (info->details->view)); - g_free (info->details->component_name); gtk_widget_unref (info->details->clipboard_owner); g_free (info->details); @@ -166,7 +164,6 @@ void nautilus_clipboard_info_set_view_frame (NautilusClipboardInfo *info, NautilusViewFrame *view) { info->details->view = view; - bonobo_object_ref (BONOBO_OBJECT (view)); } NautilusViewFrame* |