mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2025-01-01 09:26:01 +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)
|
cb_destroy(GtkWidget* UNUSED(widget), zathura_t* zathura)
|
||||||
{
|
{
|
||||||
if (zathura != NULL && zathura->document != NULL) {
|
if (zathura != NULL && zathura->document != NULL) {
|
||||||
zathura_document_free(zathura->document);
|
document_close(zathura, false);
|
||||||
zathura->document = NULL;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
gtk_main_quit();
|
gtk_main_quit();
|
||||||
|
|
Loading…
Reference in a new issue