mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 11:55:59 +01:00
Simplify
This commit is contained in:
parent
9fe6a4a2d6
commit
0d8a0db735
1 changed files with 3 additions and 5 deletions
|
@ -1634,12 +1634,10 @@ error_ret:
|
||||||
static gboolean
|
static gboolean
|
||||||
zathura_signal_sigterm(gpointer data)
|
zathura_signal_sigterm(gpointer data)
|
||||||
{
|
{
|
||||||
if (data == NULL) {
|
if (data != NULL) {
|
||||||
return TRUE;
|
zathura_t* zathura = data;
|
||||||
}
|
|
||||||
|
|
||||||
zathura_t* zathura = (zathura_t*) data;
|
|
||||||
cb_destroy(NULL, zathura);
|
cb_destroy(NULL, zathura);
|
||||||
|
}
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue