diff options
author | Darin Adler <darin@src.gnome.org> | 2000-09-28 17:18:12 +0000 |
---|---|---|
committer | Darin Adler <darin@src.gnome.org> | 2000-09-28 17:18:12 +0000 |
commit | b1943a3cb2e5e68db57061603c1fb541208939fe (patch) | |
tree | c5c26c29a4cfa9521c63af61d3923acb9e4e34ee /libnautilus-private/nautilus-list.c | |
parent | 0a11a08ace552aaf9d7501e1c505b3f8cfe99232 (diff) | |
download | nautilus-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 'libnautilus-private/nautilus-list.c')
-rw-r--r-- | libnautilus-private/nautilus-list.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libnautilus-private/nautilus-list.c b/libnautilus-private/nautilus-list.c index 373d8d566..26c7ac934 100644 --- a/libnautilus-private/nautilus-list.c +++ b/libnautilus-private/nautilus-list.c @@ -2748,7 +2748,7 @@ nautilus_list_ensure_drag_data (NautilusList *list, guint32 time) { - if (list->details->drag_info->got_drop_data_type == FALSE) { + if (!list->details->drag_info->got_drop_data_type) { gtk_drag_get_data (GTK_WIDGET (list), context, GPOINTER_TO_INT (context->targets->data), time); @@ -2840,7 +2840,7 @@ nautilus_list_get_drop_action (NautilusList *list, /* FIXME bugzilla.eazel.com 2569: Too much code copied from nautilus-icon-dnd.c. Need to share more. */ - if (drag_info->got_drop_data_type == FALSE) { + if (!drag_info->got_drop_data_type) { /* drag_data_received didn't get called yet */ return; } @@ -3073,7 +3073,7 @@ nautilus_list_drag_data_received (GtkWidget *widget, GdkDragContext *context, break; } - if (drag_info->drop_occured == TRUE) { + if (drag_info->drop_occured) { switch (info) { case NAUTILUS_ICON_DND_GNOME_ICON_LIST: |