[gnome-calendar] trivial: style fix



commit e73240bc9a50bd985474de5547d13a75b2b04c77
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Tue Nov 21 20:12:42 2017 -0200

    trivial: style fix

 org.gnome.Calendar.json     |   23 ++++++++++++++++-------
 src/views/gcal-month-view.c |    2 +-
 2 files changed, 17 insertions(+), 8 deletions(-)
---
diff --git a/org.gnome.Calendar.json b/org.gnome.Calendar.json
index e0e4492..3408804 100644
--- a/org.gnome.Calendar.json
+++ b/org.gnome.Calendar.json
@@ -11,14 +11,17 @@
         "--socket=wayland",
         "--share=network",
         "--system-talk-name=org.freedesktop.login1",
+        "--talk-name=ca.desrt.dconf",
         "--talk-name=org.gnome.ControlCenter",
         "--talk-name=org.gnome.OnlineAccounts",
         "--talk-name=org.gnome.evolution.dataserver.AddressBook9",
         "--talk-name=org.gnome.evolution.dataserver.Calendar7",
         "--talk-name=org.gnome.evolution.dataserver.Sources5",
         "--talk-name=org.gnome.evolution.dataserver.Subprocess.Backend.*",
-        "--filesystem=xdg-run/dconf", "--filesystem=~/.config/dconf:ro",
-        "--talk-name=ca.desrt.dconf", "--env=DCONF_USER_CONFIG_DIR=.config/dconf"
+        "--filesystem=home",
+        "--filesystem=xdg-run/dconf",
+        "--filesystem=~/.config/dconf:ro",
+        "--env=DCONF_USER_CONFIG_DIR=.config/dconf"
     ],
     "build-options" : {
         "cflags": "-O2 -g",
@@ -27,11 +30,17 @@
             "V": "1"
         }
     },
-    "cleanup": ["/include", "/lib/pkgconfig",
-                "/share/pkgconfig", "/share/aclocal",
-                "/man", "/share/man", "/share/gtk-doc",
-                "/share/vala",
-                "*.la", "*.a"],
+    "cleanup": [
+        "/include",
+        "/lib/pkgconfig",
+        "/share/pkgconfig",
+        "/share/aclocal",
+        "/man",
+        "/share/man",
+        "/share/gtk-doc",
+        "*.la",
+        "*.a"
+    ],
     "modules": [
         {
             "name": "gnome-online-accounts",
diff --git a/src/views/gcal-month-view.c b/src/views/gcal-month-view.c
index 90be72a..5a811b3 100644
--- a/src/views/gcal-month-view.c
+++ b/src/views/gcal-month-view.c
@@ -1102,7 +1102,7 @@ gcal_month_view_key_press (GtkWidget   *widget,
     {
       month_change = self->keyboard_cell + diff > max ? 1 : -1;
       self->date->month += month_change;
-      *(self->date) = icaltime_normalize(*(self->date));
+      *self->date = icaltime_normalize (*self->date);
 
       self->days_delay = (time_day_of_week (1, self->date->month - 1, self->date->year) - 
self->first_weekday + 7) % 7;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]