aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2007-12-17 08:18:47 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2007-12-17 08:18:47 +0000
commitb700d3b1456e601cc0f41b7116c44a400c769e57 (patch)
tree48d197f627fdd67cfe01c9f8cb0f0cc5ff9b36d7 /src
parent1cad8ff2aaae3ed5b4a454053280ae168e1c7eb5 (diff)
syldap_display_search_results(): fixed warnings.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1926 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src')
-rw-r--r--src/syldap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/syldap.c b/src/syldap.c
index 1475519f..c8930112 100644
--- a/src/syldap.c
+++ b/src/syldap.c
@@ -637,7 +637,7 @@ gint syldap_search( SyldapServer *ldapServer ) {
/* syldap_display_search_results() - updates the ui. this function is called from the
* main thread (the thread running the GTK event loop). */
-static gint syldap_display_search_results(SyldapServer *ldapServer)
+static gboolean syldap_display_search_results(SyldapServer *ldapServer)
{
/* NOTE: when this function is called the accompanying thread should
* already be terminated. */
@@ -646,7 +646,7 @@ static gint syldap_display_search_results(SyldapServer *ldapServer)
/* FIXME: match should know whether to free this SyldapServer stuff. */
g_free(ldapServer->thread);
ldapServer->thread = NULL;
- return TRUE;
+ return FALSE;
}
/* ============================================================================================ */