aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2002-03-01 05:51:17 +0800
committerChris Toshok <toshok@src.gnome.org>2002-03-01 05:51:17 +0800
commit8ad83fdce75b7d360d92bbd20175f4279faad19a (patch)
treed2c949c5a5720490878ed718c8d5fe3f4beab9c7 /addressbook
parentb6e3a133f25f2ae19ea914ee32f528d8056380b0 (diff)
downloadgsoc2013-evolution-8ad83fdce75b7d360d92bbd20175f4279faad19a.tar.gz
gsoc2013-evolution-8ad83fdce75b7d360d92bbd20175f4279faad19a.tar.zst
gsoc2013-evolution-8ad83fdce75b7d360d92bbd20175f4279faad19a.zip
don't ref the view here, since it keeps the view alive until the search is
2002-02-28 Chris Toshok <toshok@ximian.com> * backend/pas/pas-backend-ldap.c (pas_backend_ldap_search): don't ref the view here, since it keeps the view alive until the search is over, which we don't want. we want the view's death to cancel the search. This speeds up starting new searches after one is already active (since switching searches actually creates a new book view and destroys the old one.) (ldap_search_dtor): remove the matching unref here. The unref as it was was incorrect anyway, and caused a crash (we needed search_op->view, not op->view.) svn path=/trunk/; revision=15877
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog12
-rw-r--r--addressbook/backend/pas/pas-backend-ldap.c4
2 files changed, 12 insertions, 4 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index bae7938514..b80b2ab802 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,15 @@
+2002-02-28 Chris Toshok <toshok@ximian.com>
+
+ * backend/pas/pas-backend-ldap.c (pas_backend_ldap_search): don't
+ ref the view here, since it keeps the view alive until the search
+ is over, which we don't want. we want the view's death to cancel
+ the search. This speeds up starting new searches after one is
+ already active (since switching searches actually creates a new
+ book view and destroys the old one.)
+ (ldap_search_dtor): remove the matching unref here. The unref as
+ it was was incorrect anyway, and caused a crash (we needed
+ search_op->view, not op->view.)
+
2002-02-27 Chris Toshok <toshok@ximian.com>
[fixes bug #20690]
diff --git a/addressbook/backend/pas/pas-backend-ldap.c b/addressbook/backend/pas/pas-backend-ldap.c
index 3128b79104..6a98246257 100644
--- a/addressbook/backend/pas/pas-backend-ldap.c
+++ b/addressbook/backend/pas/pas-backend-ldap.c
@@ -2437,9 +2437,6 @@ ldap_search_dtor (PASBackend *backend, LDAPOp *op)
{
LDAPSearchOp *search_op = (LDAPSearchOp*) op;
- if (op->view)
- bonobo_object_release_unref(bonobo_object_corba_objref(BONOBO_OBJECT(op->view)), NULL);
-
g_free (search_op->ldap_query);
g_free (search_op);
}
@@ -2451,7 +2448,6 @@ pas_backend_ldap_search (PASBackendLDAP *bl,
{
LDAPSearchOp *op = g_new (LDAPSearchOp, 1);
- bonobo_object_dup_ref(bonobo_object_corba_objref(BONOBO_OBJECT(view->book_view)), NULL);
ldap_op_init ((LDAPOp*)op, PAS_BACKEND(bl), book, view->book_view, ldap_search_handler, ldap_search_dtor);
op->ldap_query = NULL;
class='insertions'>+5 * Update to 1.4.8Sunpoet Po-Chuan Hsieh2018-10-283-12/+10 * Update MASTER_SITESSunpoet Po-Chuan Hsieh2018-09-231-1/+1 * Bump PORTREVISION for ports depending on the canonical version of GCCGerald Pfeifer2018-07-301-0/+1 * Update to 1.4.7Sunpoet Po-Chuan Hsieh2018-07-304-35/+15 * Adjust USES to fix building on gcc-based archs (in particular, powerpc64).Mark Linimon2018-06-031-3/+1 * Update to 1.4.5Sunpoet Po-Chuan Hsieh2017-10-174-17/+5 * Convert PORTDATA=* and PORTDOCS=* to PLIST entriesSunpoet Po-Chuan Hsieh2017-10-082-3/+455 * Fix CONFLICTS_INSTALLSunpoet Po-Chuan Hsieh2017-05-281-1/+1 * Mark some ports failing on power64. In cases where the error messageMark Linimon2017-05-201-0/+2 * Use upstream patchSunpoet Po-Chuan Hsieh2017-04-292-18/+12 * Update to 1.4.4Sunpoet Po-Chuan Hsieh2017-04-244-5/+23 * Update to 1.4.3Sunpoet Po-Chuan Hsieh2017-04-046-51/+46 * Remove outdated OSVERSION checkSunpoet Po-Chuan Hsieh2017-01-011-8/+1 * Update FreeBSD version check for SOCK_CLOEXEC.Raphael Kubo da Costa2016-11-221-1/+1 * - Simplify patch for FreeBSD 9.xSunpoet Po-Chuan Hsieh2016-11-222-17/+1 * Unbreak the build on FreeBSD 9 after r426647.Raphael Kubo da Costa2016-11-222-1/+24 * - Update to 1.2.24Sunpoet Po-Chuan Hsieh2016-11-213-4/+5 * - Update to 1.2.23Sunpoet Po-Chuan Hsieh2016-03-313-4/+4 * - Update to 1.2.22Sunpoet Po-Chuan Hsieh2016-01-175-8/+9 * - Update to 1.2.21Sunpoet Po-Chuan Hsieh2015-05-223-4/+4 * - Update to 1.2.20Sunpoet Po-Chuan Hsieh2015-03-063-5/+6 * - Update to 1.2.19Sunpoet Po-Chuan Hsieh2014-11-253-4/+4 * Cleanup plistBaptiste Daroussin2014-10-201-3/+0 * - Use INSTALL_TARGET=install-strip instead of MAKE_ENV=INSTALL_STRIP_FLAG=${S...Sunpoet Po-Chuan Hsieh2014-08-301-1/+1 * - Update to 1.2.18Sunpoet Po-Chuan Hsieh2014-06-243-6/+6 * - Use USES=tar:xzSunpoet Po-Chuan Hsieh2014-03-141-1/+1 * - Update to 1.2.17Sunpoet Po-Chuan Hsieh2014-02-052-3/+3 * - Update to 1.2.16Sunpoet Po-Chuan Hsieh2013-12-064-391/+15 * - Strip shared librarySunpoet Po-Chuan Hsieh2013-10-242-12/+11 * Add NO_STAGE all over the place in preparation for the staging support (cat: ...Baptiste Daroussin2013-09-211-0/+1 * - Reformat pkg-descrSunpoet Po-Chuan Hsieh2013-09-15