mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 11:46:01 +01:00
Log g_spawn_async error
This commit is contained in:
parent
a4ffad457c
commit
8735ccfcbb
1 changed files with 5 additions and 1 deletions
|
@ -111,7 +111,11 @@ synctex_edit(const char* editor, zathura_page_t* page, int x, int y)
|
||||||
argv[i] = temp;
|
argv[i] = temp;
|
||||||
}
|
}
|
||||||
|
|
||||||
g_spawn_async(NULL, argv, NULL, G_SPAWN_SEARCH_PATH, NULL, NULL, NULL, NULL);
|
GError* error = NULL;
|
||||||
|
if (g_spawn_async(NULL, argv, NULL, G_SPAWN_SEARCH_PATH, NULL, NULL, NULL, &error) == FALSE) {
|
||||||
|
girara_error("Failed to execute synctex command: %s", error->message);
|
||||||
|
g_error_free(error);
|
||||||
|
}
|
||||||
g_strfreev(argv);
|
g_strfreev(argv);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue