mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 13:16:00 +01:00
parent
c69eebd87f
commit
c2b0f7c20f
1 changed files with 1 additions and 2 deletions
|
@ -22,8 +22,7 @@ gboolean
|
|||
cb_destroy(GtkWidget* UNUSED(widget), zathura_t* zathura)
|
||||
{
|
||||
if (zathura != NULL && zathura->document != NULL) {
|
||||
zathura_document_free(zathura->document);
|
||||
zathura->document = NULL;
|
||||
document_close(zathura, false);
|
||||
}
|
||||
|
||||
gtk_main_quit();
|
||||
|
|
Loading…
Reference in a new issue