[gnome-calendar/gnome-3-24] event: remove unused code
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar/gnome-3-24] event: remove unused code
- Date: Fri, 9 Jun 2017 02:42:46 +0000 (UTC)
commit 3387d6b90e87076c78b9bce7269c71dfcdbc403a
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Wed May 17 14:47:03 2017 -0300
event: remove unused code
src/gcal-event.c | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/src/gcal-event.c b/src/gcal-event.c
index 1a81ea0..4de6c77 100644
--- a/src/gcal-event.c
+++ b/src/gcal-event.c
@@ -52,7 +52,6 @@ struct _GcalEvent
ESource *source;
gboolean is_valid : 1;
- gboolean is_initialized : 1;
GError *initialization_error;
};
@@ -344,13 +343,6 @@ gcal_event_initable_init (GInitable *initable,
G_LOCK (init_lock);
- if (self->is_initialized)
- goto out;
-
-
-out:
- self->is_initialized = TRUE;
-
if (!self->is_valid)
g_propagate_error (error, g_error_copy (self->initialization_error));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]