diff options
Diffstat (limited to 'addressbook')
-rw-r--r-- | addressbook/ChangeLog | 6 | ||||
-rw-r--r-- | addressbook/backend/ebook/e-book-util.c | 2 |
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; |