mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-13 08:13:47 +01:00
Simplify
This commit is contained in:
parent
9fe6a4a2d6
commit
0d8a0db735
@ -1634,13 +1634,11 @@ error_ret:
|
||||
static gboolean
|
||||
zathura_signal_sigterm(gpointer data)
|
||||
{
|
||||
if (data == NULL) {
|
||||
return TRUE;
|
||||
if (data != NULL) {
|
||||
zathura_t* zathura = data;
|
||||
cb_destroy(NULL, zathura);
|
||||
}
|
||||
|
||||
zathura_t* zathura = (zathura_t*) data;
|
||||
cb_destroy(NULL, zathura);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user