mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-10 23:03:48 +01:00
Fix automatic reload
This commit is contained in:
parent
42307d4e65
commit
6a3fb02736
@ -309,7 +309,7 @@ zathura_document_open(zathura_t* zathura, const char* path, const char* password
|
||||
goto error_free;
|
||||
}
|
||||
|
||||
g_signal_connect(G_OBJECT(document->file_monitor.monitor), "changed", G_CALLBACK(cb_file_monitor), document);
|
||||
g_signal_connect(G_OBJECT(document->file_monitor.monitor), "changed", G_CALLBACK(cb_file_monitor), zathura->ui.session);
|
||||
|
||||
g_free(file_uri);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user