From b700d3b1456e601cc0f41b7116c44a400c769e57 Mon Sep 17 00:00:00 2001 From: hiro Date: Mon, 17 Dec 2007 08:18:47 +0000 Subject: syldap_display_search_results(): fixed warnings. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1926 ee746299-78ed-0310-b773-934348b2243d --- ChangeLog | 2 ++ ChangeLog.ja | 2 ++ src/syldap.c | 4 ++-- 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; } /* ============================================================================================ */ -- cgit v1.2.3