From 27e7fb18b82a992d1ddff23253d2bd35d8d8b13f Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Wed, 29 Oct 2008 09:10:42 +0100 Subject: [PATCH] NULL-terminate g_object_set call Fixes segfault --- src/eweouz-write-addressbook.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/eweouz-write-addressbook.c b/src/eweouz-write-addressbook.c index 3f57c94..aecc394 100644 --- a/src/eweouz-write-addressbook.c +++ b/src/eweouz-write-addressbook.c @@ -151,7 +151,7 @@ int main(int argc, char **argv) el = g_list_prepend(el, *head); head++; } - g_object_set(E_CONTACT(c->data), "email", el); + g_object_set(E_CONTACT(c->data), "email", el, NULL); e_book_commit_contact(book, E_CONTACT(c->data), &error); } } -- 2.39.5