summaryrefslogtreecommitdiff
path: root/src/open-file.c
diff options
context:
space:
mode:
authorLaurent Napias <[email protected]>2019-06-29 10:46:39 +0200
committerraveit65 <[email protected]>2019-07-01 18:38:12 +0200
commit3c4165189dce94303efa1744ecfd6c728d2db5ec (patch)
treefd104044ae3a367b25558053c4610490bb013680 /src/open-file.c
parente48cd4649f7a448ed585634e206347cab5b86051 (diff)
downloadengrampa-3c4165189dce94303efa1744ecfd6c728d2db5ec.tar.bz2
engrampa-3c4165189dce94303efa1744ecfd6c728d2db5ec.tar.xz
Remove trailing whitespaces
Diffstat (limited to 'src/open-file.c')
-rw-r--r--src/open-file.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/open-file.c b/src/open-file.c
index 35280ac..ceda1d3 100644
--- a/src/open-file.c
+++ b/src/open-file.c
@@ -31,17 +31,17 @@ open_file_new (const char *path,
const char *temp_dir)
{
OpenFile *ofile;
-
+
ofile = g_new0 (OpenFile, 1);
ofile->path = g_strdup (path);
ofile->extracted_uri = g_filename_to_uri (extracted_path, NULL, NULL);
if (! uri_exists (ofile->extracted_uri)) {
open_file_free (ofile);
return NULL;
- }
+ }
ofile->temp_dir = g_strdup (temp_dir);
ofile->last_modified = get_file_mtime (ofile->extracted_uri);
-
+
return ofile;
}
@@ -79,9 +79,9 @@ GType
open_file_get_type (void)
{
static GType type = 0;
-
+
if (type == 0)
type = g_boxed_type_register_static ("FROpenFile", (GBoxedCopyFunc) open_file_copy, (GBoxedFreeFunc) open_file_free);
-
+
return type;
}