From: Tollef Fog Heen Date: Wed, 29 Oct 2008 08:10:42 +0000 (+0100) Subject: NULL-terminate g_object_set call X-Git-Tag: 0.5~11 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27e7fb18b82a992d1ddff23253d2bd35d8d8b13f;p=eweouz NULL-terminate g_object_set call Fixes segfault --- 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); } }