aboutsummaryrefslogtreecommitdiff
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
parent1cad8ff2aaae3ed5b4a454053280ae168e1c7eb5 (diff)
syldap_display_search_results(): fixed warnings.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1926 ee746299-78ed-0310-b773-934348b2243d
-rw-r--r--ChangeLog2
-rw-r--r--ChangeLog.ja2
-rw-r--r--src/syldap.c4
3 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 2ac11844..23eeb045 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,8 @@
2007-12-17
* src/syldap.c: fixed memory leaks (thanks to Michael Schwendt).
+ syldap_display_search_results(): fixed warnings (thanks to Michael
+ Schwendt).
2007-12-07
diff --git a/ChangeLog.ja b/ChangeLog.ja
index c65afad5..e97757f0 100644
--- a/ChangeLog.ja
+++ b/ChangeLog.ja
@@ -1,6 +1,8 @@
2007-12-17
* src/syldap.c: メモリリークを修正(Michael Schwendt さん thanks)。
+ syldap_display_search_results(): 警告を修正 (Michael Schwendt さん
+ thanks)。
2007-12-07
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;
}
/* ============================================================================================ */