X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=lib%2Findex.cc;h=2b98b588d38d4532173a503cc652aa5e8d3c3de1;hb=1348212cb051b846bbe98f6d653da45aad3dfefa;hp=10420d84426ca165659cba5118def218d6020cc3;hpb=4ce7591610444a1c5ef6f56b57af8e180437fa62;p=notmuch diff --git a/lib/index.cc b/lib/index.cc index 10420d84..2b98b588 100644 --- a/lib/index.cc +++ b/lib/index.cc @@ -261,7 +261,7 @@ notmuch_filter_discard_non_term_new (GMimeContentType *content_type) type = g_type_register_static (GMIME_TYPE_FILTER, "NotmuchFilterDiscardNonTerm", &info, (GTypeFlags) 0); } - filter = (NotmuchFilterDiscardNonTerm *) g_object_newv (type, 0, NULL); + filter = (NotmuchFilterDiscardNonTerm *) g_object_new (type, NULL); filter->content_type = content_type; filter->state = 0; if (g_mime_content_type_is_type (content_type, "text", "html")) {