aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorJon Trowbridge <trow@ximian.com>2001-12-14 07:45:11 +0800
committerJon Trowbridge <trow@src.gnome.org>2001-12-14 07:45:11 +0800
commit5ebc441eaa1fb3d50b27a203ee3b4fbce5668cb1 (patch)
tree3472b42a3b3cab652bee094e3f4bb5b7be45e9be /addressbook
parent9c742bd727853f2c5ec8650ad4b2630da532d8cb (diff)
downloadgsoc2013-evolution-5ebc441eaa1fb3d50b27a203ee3b4fbce5668cb1.tar.gz
gsoc2013-evolution-5ebc441eaa1fb3d50b27a203ee3b4fbce5668cb1.tar.zst
gsoc2013-evolution-5ebc441eaa1fb3d50b27a203ee3b4fbce5668cb1.zip
Used g_strdup_printf to dup a string. Doh! Changed to g_strdup. (Bug
2001-12-13 Jon Trowbridge <trow@ximian.com> * backend/ebook/e-book-util.c (simple_query_new): Used g_strdup_printf to dup a string. Doh! Changed to g_strdup. (Bug #17126) svn path=/trunk/; revision=15031
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog6
-rw-r--r--addressbook/backend/ebook/e-book-util.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index e21817b628..abfccbe090 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,9 @@
+2001-12-13 Jon Trowbridge <trow@ximian.com>
+
+ * backend/ebook/e-book-util.c (simple_query_new): Used
+ g_strdup_printf to dup a string. Doh! Changed to g_strdup.
+ (Bug #17126)
+
2001-12-07 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-manager.c
diff --git a/addressbook/backend/ebook/e-book-util.c b/addressbook/backend/ebook/e-book-util.c
index b397bd85ef..f141deb791 100644
--- a/addressbook/backend/ebook/e-book-util.c
+++ b/addressbook/backend/ebook/e-book-util.c
@@ -196,7 +196,7 @@ simple_query_new (EBook *book, const char *query, EBookSimpleQueryCallback cb, g
sq->tag = book_issue_tag (book);
sq->book = book;
gtk_object_ref (GTK_OBJECT (book));
- sq->query = g_strdup_printf (query);
+ sq->query = g_strdup (query);
sq->cb = cb;
sq->closure = closure;
sq->cancelled = FALSE;