Fix automatic reload

This commit is contained in:
Moritz Lipp 2012-02-07 20:54:20 +01:00
parent 42307d4e65
commit 6a3fb02736

View File

@ -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);