aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--addressbook/ChangeLog4
-rw-r--r--addressbook/gui/component/addressbook.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 6b7e988d22..2deaa194fd 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,7 @@
+2000-08-09 Christopher James Lahey <clahey@helixcode.com>
+
+ * gui/component/addressbook.c: Fixed a warning.
+
2000-08-09 Ettore Perazzoli <ettore@helixcode.com>
* gui/component/addressbook.c (control_activate): Add the stock
diff --git a/addressbook/gui/component/addressbook.c b/addressbook/gui/component/addressbook.c
index 561f8b8717..ffc40a3424 100644
--- a/addressbook/gui/component/addressbook.c
+++ b/addressbook/gui/component/addressbook.c
@@ -440,7 +440,7 @@ search_entry_activated (GtkWidget* widget, gpointer user_data)
if (search_word && strlen (search_word))
search_query = g_strdup_printf (
"(contains \"x-evolution-any-field\" \"%s\")",
- search_word, search_word);
+ search_word);
else
search_query = g_strdup (
"(contains \"full_name\" \"\")");