summaryrefslogtreecommitdiff
path: root/src/currency-manager.c
diff options
context:
space:
mode:
authorLaurent Napias <[email protected]>2019-06-29 10:49:33 +0200
committerraveit65 <[email protected]>2019-07-03 15:04:19 +0200
commitd7195c1d58c93398efd3567ed69558b657e7b74b (patch)
tree2a37db47816a37eb01d95d5933de9c1e079ed599 /src/currency-manager.c
parent87d647ad3be67c033dbb6aa80cfcdd4cbce3a42d (diff)
downloadmate-calc-d7195c1d58c93398efd3567ed69558b657e7b74b.tar.bz2
mate-calc-d7195c1d58c93398efd3567ed69558b657e7b74b.tar.xz
Remove trailing whitespaces
Diffstat (limited to 'src/currency-manager.c')
-rw-r--r--src/currency-manager.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/currency-manager.c b/src/currency-manager.c
index d48f99a..40e87a7 100644
--- a/src/currency-manager.c
+++ b/src/currency-manager.c
@@ -274,7 +274,7 @@ download_file(CurrencyManager *manager, gchar *uri, gchar *filename, GAsyncReady
g_file_copy_async(source, dest, G_FILE_COPY_OVERWRITE, G_PRIORITY_DEFAULT, NULL, NULL, NULL, callback, manager);
g_object_unref(source);
- g_object_unref(dest);
+ g_object_unref(dest);
}
@@ -287,10 +287,10 @@ load_imf_rates(CurrencyManager *manager)
GError *error = NULL;
int i;
gboolean result, in_data = FALSE;
- struct
+ struct
{
const gchar *name, *symbol;
- } name_map[] =
+ } name_map[] =
{
{"Algerian dinar", "DZD"},
{"Australian dollar", "AUD"},
@@ -365,7 +365,7 @@ load_imf_rates(CurrencyManager *manager)
gchar *line, **tokens;
line = g_strchug(lines[i]);
-
+
/* Start after first blank line, stop on next */
if (line[0] == '\0') {
if (!in_data) {
@@ -494,7 +494,7 @@ load_ecb_rates(CurrencyManager *manager)
if (!document)
g_warning("Couldn't parse ECB rate file %s", filename);
g_free (filename);
- if (!document)
+ if (!document)
return;
xpath_ctx = xmlXPathNewContext(document);
@@ -564,7 +564,7 @@ load_rates(CurrencyManager *manager)
loaded_rates = TRUE;
g_signal_emit(manager, signals[UPDATED], 0);
-
+
return TRUE;
}