summaryrefslogtreecommitdiff
path: root/components/image-viewer
diff options
context:
space:
mode:
authorDarin Adler <darin@src.gnome.org>2000-09-28 17:18:12 +0000
committerDarin Adler <darin@src.gnome.org>2000-09-28 17:18:12 +0000
commitb1943a3cb2e5e68db57061603c1fb541208939fe (patch)
treec5c26c29a4cfa9521c63af61d3923acb9e4e34ee /components/image-viewer
parent0a11a08ace552aaf9d7501e1c505b3f8cfe99232 (diff)
downloadnautilus-b1943a3cb2e5e68db57061603c1fb541208939fe.tar.gz
Bonobo objects own themselves, so we should not do a ref/sink on them.
* libnautilus-extensions/nautilus-undo-context.c: (nautilus_undo_context_new): Bonobo objects own themselves, so we should not do a ref/sink on them. * libnautilus-extensions/nautilus-undo-manager.c: (nautilus_undo_manager_new): Bonobo objects own themselves, so we should not do a ref/sink on them. * src/nautilus-application.c: (nautilus_application_initialize): Move global preferences initialization to main with other initialize calls. (nautilus_application_new): Bonobo objects own themselves, so we should not do a ref/sink on them. (nautilus_application_destroy): Unref the undo manager to fix a leak. * src/nautilus-main.c: (main): Move global preferences initialization to main with other initialize calls. * nautilus.spec.in: Added "-k" to build commands so we get more information about what failed when failing to build via RPM. Failures are still failures, we just see more of what's failing. * components/help/converters/gnome-db2html2/sect-elements.c: (sect_entry_end_element): * components/help/converters/gnome-db2html2/toc-elements.c: (toc_title_start_element): * components/image-viewer/nautilus-image-view.c: (init_server_factory): * components/rpmview/nautilus-rpm-view-install.c: (nautilus_rpm_view_install_package_callback), (nautilus_rpm_view_uninstall_package_callback): * components/services/install/command-line/eazel-alt-install-corba. c: (main): * components/services/install/command-line/eazel-alt-install.c: (main): * components/services/install/command-line/eazel-install.c: (generate_new_package_list), (fetch_remote_package_list), (main): * components/services/install/command-line/eazel-package-query.c: (main): * components/services/install/command-line/eazel-revert.c: (main): * components/services/install/command-line/eazel-uninstall.c: (main): * components/services/install/lib/eazel-install-object.c: (eazel_install_fetch_remote_package_list): * components/services/install/lib/eazel-install-protocols.c: (eazel_install_fetch_file), (eazel_install_fetch_package): * components/services/install/lib/eazel-install-rpm-glue.c: (install_new_packages), (eazel_install_download_packages), (uninstall_packages), (eazel_install_start_transaction), (eazel_install_add_to_rpm_set), (eazel_install_check_if_related_package): * components/services/install/nautilus-view/nautilus-service-instal l-view.c: (nautilus_service_install_preflight_check): * components/services/install/nautilus-view/nautilus-service-instal l.c: (nautilus_service_install_view_install_package_callback), (nautilus_service_install_view_uninstall_package_callback): * components/services/install/server/main.c: (main): * components/services/summary/nautilus-view/nautilus-summary-view.c : (generate_startup_form), (generate_summary_form), (generate_service_entry_row): * components/services/time/command-line/main.c: (main): * components/services/time/service/main.c: (main): * components/services/trilobite/libtrilobite/trilobite-core-utils.c : (trilobite_init): * components/services/trilobite/libtrilobite/trilobite-root-client. c: (trilobite_root_client_initialize): * components/services/trilobite/libtrilobite/trilobite-service-pass wordquery.c: (trilobite_passwordquery_initialize): * components/services/trilobite/libtrilobite/trilobite-service.c: (trilobite_service_initialize): * components/services/trilobite/sample/command-line/main.c: (main): * components/services/trilobite/sample/service/main.c: (main): * components/shell/shell.c: * components/tree/nautilus-tree-model.c: (nautilus_tree_model_monitor_add), (nautilus_tree_model_root_node_file_monitor): * components/tree/nautilus-tree-view.c: * libnautilus-extensions/nautilus-directory-async.c: (get_filter_options_for_directory_count): * libnautilus-extensions/nautilus-file-utilities.c: (nautilus_uri_is_local_scheme), (nautilus_handle_trailing_slashes): * libnautilus-extensions/nautilus-icon-dnd.c: (drag_data_received_callback): * libnautilus-extensions/nautilus-icon-text-item.c: (iti_event): * libnautilus-extensions/nautilus-list.c: (nautilus_list_ensure_drag_data), (nautilus_list_get_drop_action), (nautilus_list_drag_data_received): * libnautilus-extensions/nautilus-scalable-font.c: (initialize_global_stuff_if_needed): * libnautilus-extensions/nautilus-undo-signal-handlers.c: (editable_register_edit_undo): * src/file-manager/fm-icon-view.c: (context_menu_layout_radio_item_callback): * src/file-manager/nautilus-indexing-info.c: (update_progress_display): * src/nautilus-switchable-search-bar.c: (nautilus_switchable_search_bar_set_mode): Got rid of all uses of == TRUE and != TRUE, since they are dangerous. Got rid of all uses of == FALSE and != FALSE, since they lead to use of == TRUE and != TRUE.
Diffstat (limited to 'components/image-viewer')
-rw-r--r--components/image-viewer/nautilus-image-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/image-viewer/nautilus-image-view.c b/components/image-viewer/nautilus-image-view.c
index 3c7289db3..c050ea576 100644
--- a/components/image-viewer/nautilus-image-view.c
+++ b/components/image-viewer/nautilus-image-view.c
@@ -694,7 +694,7 @@ init_server_factory (int argc, char **argv)
oaf_popt_options, 0, NULL);
oaf_init (argc, argv);
- if (bonobo_init (CORBA_OBJECT_NIL, CORBA_OBJECT_NIL, CORBA_OBJECT_NIL) == FALSE)
+ if (!bonobo_init (CORBA_OBJECT_NIL, CORBA_OBJECT_NIL, CORBA_OBJECT_NIL))
g_error (_("I could not initialize Bonobo"));
CORBA_exception_free (&ev);