[buoh/builder-port: 1/4] Fix coding style
- From: Jan Tojnar <jtojnar src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [buoh/builder-port: 1/4] Fix coding style
- Date: Wed, 12 Sep 2018 11:55:44 +0000 (UTC)
commit 9223508c5d730844cb4f2abeba47faae424b9b64
Author: Jan Tojnar <jtojnar gmail com>
Date: Mon Sep 10 19:23:55 2018 +0200
Fix coding style
data/meson.build | 5 +++--
src/buoh-comic-manager-date.c | 18 +++++++++---------
src/buoh-comic-manager.c | 3 ++-
src/buoh-comic.c | 2 +-
4 files changed, 15 insertions(+), 13 deletions(-)
---
diff --git a/data/meson.build b/data/meson.build
index aa6b319..36c2c14 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -8,8 +8,9 @@ i18n.merge_file(
install: true,
install_dir: join_paths(datadir, 'applications'),
)
-if (desktop_file_validate.found())
- test('Validating ' + desktop,
+if desktop_file_validate.found()
+ test(
+ 'Validating @0@'.format(desktop),
desktop_file_validate,
args: [desktop],
workdir: meson.current_build_dir(),
diff --git a/src/buoh-comic-manager-date.c b/src/buoh-comic-manager-date.c
index ffd1384..1bea418 100644
--- a/src/buoh-comic-manager-date.c
+++ b/src/buoh-comic-manager-date.c
@@ -52,14 +52,14 @@ struct _BuohComicManagerDatePrivate {
};
static const gchar *day_names[] = {
- NULL,
- N_("Monday"),
- N_("Tuesday"),
- N_("Wednesday"),
- N_("Thursday"),
- N_("Friday"),
- N_("Saturday"),
- N_("Sunday")
+ NULL,
+ N_("Monday"),
+ N_("Tuesday"),
+ N_("Wednesday"),
+ N_("Thursday"),
+ N_("Friday"),
+ N_("Saturday"),
+ N_("Sunday")
};
G_DEFINE_TYPE (BuohComicManagerDate, buoh_comic_manager_date, BUOH_TYPE_COMIC_MANAGER)
@@ -478,7 +478,7 @@ buoh_comic_manager_date_get_publication_days (BuohComicManagerDate *comic_manage
aux = g_string_new ("");
- for (i = G_DATE_MONDAY; i <= G_DATE_SUNDAY; i++) {
+ for (i = G_DATE_MONDAY; i <= G_DATE_SUNDAY; i++) {
if (comic_manager->priv->publications[i]) {
if (!prev) {
if (aux->len) {
diff --git a/src/buoh-comic-manager.c b/src/buoh-comic-manager.c
index f1b4d97..6f8a3e8 100644
--- a/src/buoh-comic-manager.c
+++ b/src/buoh-comic-manager.c
@@ -202,7 +202,8 @@ buoh_comic_manager_new (const gchar *type,
g_warning ("Invalid type %s for BuohComicManager (id: %s)\n",
type, id);
return NULL;
- }}
+ }
+}
static void
diff --git a/src/buoh-comic.c b/src/buoh-comic.c
index c3c5513..e56cf09 100644
--- a/src/buoh-comic.c
+++ b/src/buoh-comic.c
@@ -174,7 +174,7 @@ buoh_comic_new_with_info (const gchar *id, const gchar *uri,
comic = BUOH_COMIC (g_object_new (BUOH_TYPE_COMIC,
"id", id,
- "uri", uri,
+ "uri", uri,
"date", date, NULL));
return comic;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]