mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-28 08:16:00 +01:00
White spaces
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
parent
73e8eedc35
commit
d895ad32a1
1 changed files with 2 additions and 2 deletions
|
@ -524,7 +524,7 @@ prepare_document_open_from_gfile(GFile* source)
|
||||||
GError* error = NULL;
|
GError* error = NULL;
|
||||||
|
|
||||||
GFile *tmpfile = g_file_new_tmp("zathura.gio.XXXXXX", &iostream, &error);
|
GFile *tmpfile = g_file_new_tmp("zathura.gio.XXXXXX", &iostream, &error);
|
||||||
if(tmpfile == NULL) {
|
if (tmpfile == NULL) {
|
||||||
if (error != NULL) {
|
if (error != NULL) {
|
||||||
girara_error("Can not create temporary file: %s", error->message);
|
girara_error("Can not create temporary file: %s", error->message);
|
||||||
g_error_free(error);
|
g_error_free(error);
|
||||||
|
@ -533,7 +533,7 @@ prepare_document_open_from_gfile(GFile* source)
|
||||||
}
|
}
|
||||||
|
|
||||||
gboolean rc = g_file_copy(source, tmpfile, G_FILE_COPY_OVERWRITE, NULL, NULL, NULL, &error);
|
gboolean rc = g_file_copy(source, tmpfile, G_FILE_COPY_OVERWRITE, NULL, NULL, NULL, &error);
|
||||||
if(rc == FALSE) {
|
if (rc == FALSE) {
|
||||||
if (error != NULL) {
|
if (error != NULL) {
|
||||||
girara_error("Can not copy to temporary file: %s", error->message);
|
girara_error("Can not copy to temporary file: %s", error->message);
|
||||||
g_error_free(error);
|
g_error_free(error);
|
||||||
|
|
Loading…
Reference in a new issue