Skip to content

Commit dc7751d

Browse files
committed
Debug print temporary file path
1 parent 9df49a0 commit dc7751d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

zathura/zathura.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -689,6 +689,10 @@ static gchar* prepare_document_open_from_gfile(GFile* source) {
689689
g_free(template);
690690
g_free(basename);
691691

692+
gchar* tmpfile_path = g_file_get_path(tmpfile);
693+
girara_debug("Copying to temporary file: %s", tmpfile_path);
694+
g_free(tmpfile_path);
695+
692696
gboolean rc = g_file_copy(source, tmpfile, G_FILE_COPY_OVERWRITE, NULL, NULL, NULL, &error);
693697
if (rc == FALSE) {
694698
if (error != NULL) {

0 commit comments

Comments
 (0)