diff options
author | Darin Adler <darin@src.gnome.org> | 2000-07-11 21:22:02 +0000 |
---|---|---|
committer | Darin Adler <darin@src.gnome.org> | 2000-07-11 21:22:02 +0000 |
commit | 90166baced35526a04cb6a345a31b16e33698a05 (patch) | |
tree | 7ec24a729adf823fff7cbe71401f08f5c1c6b19b /src | |
parent | fedba7318ac4e4733015be8ab29a89289e032d13 (diff) | |
download | nautilus-90166baced35526a04cb6a345a31b16e33698a05.tar.gz |
Fixed some leaks that cause problems with the new Bonobo.
* components/history/nautilus-history-view.c:
(history_view_frame_call_end):
* libnautilus/nautilus-undo.c: (set_up_bonobo_control):
* libnautilus/nautilus-view.c: (view_frame_call_end):
* libnautilus/nautilus-zoomable.c:
(nautilus_zoomable_ensure_zoomable_frame):
Fixed a ref. count leak by adding code to unref the result of
query_interface.
* src/nautilus-view-frame.c: (nautilus_view_frame_is_zoomable):
Fixed logic that was backwards.
Diffstat (limited to 'src')
-rw-r--r-- | src/nautilus-view-frame.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nautilus-view-frame.c b/src/nautilus-view-frame.c index 9d925f896..338f073e6 100644 --- a/src/nautilus-view-frame.c +++ b/src/nautilus-view-frame.c @@ -458,7 +458,7 @@ nautilus_view_frame_is_zoomable (NautilusViewFrame *view) g_return_val_if_fail (NAUTILUS_IS_VIEW_FRAME (view), FALSE); CORBA_exception_init (&ev); - is_zoomable = CORBA_Object_is_nil (view->zoomable, &ev); + is_zoomable = !CORBA_Object_is_nil (view->zoomable, &ev); CORBA_exception_free (&ev); return is_zoomable; |