diff --git a/org.gnome.Calendar.json b/org.gnome.Calendar.json index e0e4492e..3408804b 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 90be72a0..5a811b3c 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;