From c32685919fb1ad23526223481b2fa6e7deb9d0c2 Mon Sep 17 00:00:00 2001 From: Moritz Lipp Date: Tue, 7 Feb 2012 10:36:30 +0100 Subject: [PATCH] Resolve SIGSEGV in zathura_page_view_new --- page_view_widget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/page_view_widget.c b/page_view_widget.c index ebb66cb..e1808cd 100644 --- a/page_view_widget.c +++ b/page_view_widget.c @@ -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