]> git.notmuchmail.org Git - notmuch/blobdiff - lib/index.cc
lib&cli: use g_object_new instead of g_object_newv
[notmuch] / lib / index.cc
index 10420d84426ca165659cba5118def218d6020cc3..2b98b588d38d4532173a503cc652aa5e8d3c3de1 100644 (file)
@@ -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")) {