Commit c3268591 authored by Moritz Lipp's avatar Moritz Lipp

Resolve SIGSEGV in zathura_page_view_new

parent 81bec2e5
......@@ -75,7 +75,7 @@ zathura_page_view_new(zathura_page_t* page)
{
g_return_val_if_fail(page != NULL, NULL);
return g_object_new(ZATHURA_TYPE_PAGE_VIEW, "page", page);
return g_object_new(ZATHURA_TYPE_PAGE_VIEW, "page", page, NULL);
}
static void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment