[gnome-shell/wip/mcrha/issue1875: 21/24] calendar-server: Replace tabs with spaces
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/mcrha/issue1875: 21/24] calendar-server: Replace tabs with spaces
- Date: Mon, 27 Apr 2020 15:23:20 +0000 (UTC)
commit f35b23ca2eb2a4269243c6f0b34a27e71a800f74
Author: Florian Müllner <fmuellner gnome org>
Date: Wed Apr 22 16:04:05 2020 +0200
calendar-server: Replace tabs with spaces
... according to the coding style.
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/1875
src/calendar-server/calendar-sources.c | 46 +++++++++++------------
src/calendar-server/gnome-shell-calendar-server.c | 8 ++--
2 files changed, 27 insertions(+), 27 deletions(-)
---
diff --git a/src/calendar-server/calendar-sources.c b/src/calendar-server/calendar-sources.c
index a0da1cedf4..145304a92a 100644
--- a/src/calendar-server/calendar-sources.c
+++ b/src/calendar-server/calendar-sources.c
@@ -120,25 +120,25 @@ calendar_sources_class_init (CalendarSourcesClass *klass)
signals [APPOINTMENT_SOURCES_CHANGED] =
g_signal_new ("appointment-sources-changed",
- G_TYPE_FROM_CLASS (gobject_class),
- G_SIGNAL_RUN_LAST,
- 0,
- NULL,
- NULL,
+ G_TYPE_FROM_CLASS (gobject_class),
+ G_SIGNAL_RUN_LAST,
+ 0,
NULL,
- G_TYPE_NONE,
- 0);
+ NULL,
+ NULL,
+ G_TYPE_NONE,
+ 0);
signals [TASK_SOURCES_CHANGED] =
g_signal_new ("task-sources-changed",
- G_TYPE_FROM_CLASS (gobject_class),
- G_SIGNAL_RUN_LAST,
- 0,
- NULL,
- NULL,
+ G_TYPE_FROM_CLASS (gobject_class),
+ G_SIGNAL_RUN_LAST,
+ 0,
+ NULL,
+ NULL,
NULL,
- G_TYPE_NONE,
- 0);
+ G_TYPE_NONE,
+ 0);
}
static void
@@ -227,7 +227,7 @@ calendar_sources_init (CalendarSources *sources)
static void
calendar_sources_finalize_source_data (CalendarSources *sources,
- CalendarSourceData *source_data)
+ CalendarSourceData *source_data)
{
if (source_data->loaded)
{
@@ -274,7 +274,7 @@ calendar_sources_get (void)
calendar_sources_singleton = g_object_new (CALENDAR_TYPE_SOURCES, NULL);
g_object_add_weak_pointer (G_OBJECT (calendar_sources_singleton),
- singleton_location);
+ singleton_location);
return calendar_sources_singleton;
}
@@ -282,8 +282,8 @@ calendar_sources_get (void)
/* The clients are just created here but not loaded */
static void
create_client_for_source (ESource *source,
- ECalClientSourceType source_type,
- CalendarSourceData *source_data)
+ ECalClientSourceType source_type,
+ CalendarSourceData *source_data)
{
ClientData *data;
EClient *client;
@@ -296,8 +296,8 @@ create_client_for_source (ESource *source,
if (!client)
{
g_warning ("Could not load source '%s': %s",
- e_source_get_uid (source),
- error->message);
+ e_source_get_uid (source),
+ error->message);
g_clear_error(&error);
return;
}
@@ -325,8 +325,8 @@ debug_dump_ecal_list (GHashTable *clients)
ESource *source = E_SOURCE (link->data);
dprintf (" %s %s\n",
- e_source_get_uid (source),
- e_source_get_display_name (source));
+ e_source_get_uid (source),
+ e_source_get_display_name (source));
}
g_list_free (list);
#endif
@@ -365,7 +365,7 @@ backend_died_cb (EClient *client, CalendarSourceData *source_data)
g_clear_handle_id (&source_data->timeout_id, g_source_remove);
source_data->timeout_id = g_timeout_add_seconds (2, backend_restart,
- source_data);
+ source_data);
g_source_set_name_by_id (source_data->timeout_id, "[gnome-shell] backend_restart");
}
diff --git a/src/calendar-server/gnome-shell-calendar-server.c
b/src/calendar-server/gnome-shell-calendar-server.c
index 2da0f84ba9..23398bb037 100644
--- a/src/calendar-server/gnome-shell-calendar-server.c
+++ b/src/calendar-server/gnome-shell-calendar-server.c
@@ -691,10 +691,10 @@ app_load_events (App *app)
error = NULL;
if (!e_cal_client_get_view_sync (cal,
- query,
- &view,
- NULL, /* cancellable */
- &error))
+ query,
+ &view,
+ NULL, /* cancellable */
+ &error))
{
g_warning ("Error setting up live-query on calendar: %s\n", error->message);
g_error_free (error);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]