mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2025-01-17 17:57:52 +01:00
Resolve SIGSEGV in zathura_page_view_new
This commit is contained in:
parent
81bec2e528
commit
c32685919f
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ zathura_page_view_new(zathura_page_t* page)
|
||||||
{
|
{
|
||||||
g_return_val_if_fail(page != NULL, NULL);
|
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
|
static void
|
||||||
|
|
Loading…
Reference in a new issue