Commit 6a3fb027 authored by Moritz Lipp's avatar Moritz Lipp
Browse files

Fix automatic reload

parent 42307d4e
...@@ -309,7 +309,7 @@ zathura_document_open(zathura_t* zathura, const char* path, const char* password ...@@ -309,7 +309,7 @@ zathura_document_open(zathura_t* zathura, const char* path, const char* password
goto error_free; 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); g_free(file_uri);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment