mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2025-02-27 18:14:38 +01:00
call gtk_main_quit in cb_destroy
This commit is contained in:
parent
942ebfde36
commit
370aa11c4b
2 changed files with 1 additions and 2 deletions
|
@ -14,6 +14,7 @@
|
||||||
gboolean
|
gboolean
|
||||||
cb_destroy(GtkWidget* UNUSED(widget), gpointer UNUSED(data))
|
cb_destroy(GtkWidget* UNUSED(widget), gpointer UNUSED(data))
|
||||||
{
|
{
|
||||||
|
gtk_main_quit();
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -502,8 +502,6 @@ sc_quit(girara_session_t* session, girara_argument_t* UNUSED(argument), unsigned
|
||||||
|
|
||||||
cb_destroy(NULL, NULL);
|
cb_destroy(NULL, NULL);
|
||||||
|
|
||||||
gtk_main_quit();
|
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue