[buoh/builder-port: 3/5] Coding style fixes
- From: Jan Tojnar <jtojnar src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [buoh/builder-port: 3/5] Coding style fixes
- Date: Wed, 12 Sep 2018 11:56:17 +0000 (UTC)
commit ffdf83798ef037ba2d4f69d0def54ff40c936611
Author: Jan Tojnar <jtojnar gmail com>
Date: Mon Sep 10 19:23:55 2018 +0200
Coding style fixes
data/meson.build | 5 +++--
src/buoh-comic-manager-date.c | 18 +++++++++---------
src/buoh-comic-manager.c | 3 ++-
3 files changed, 14 insertions(+), 12 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]