event: remove unused code
This commit is contained in:
@@ -104,7 +104,6 @@ struct _GcalEvent
|
|||||||
ESource *source;
|
ESource *source;
|
||||||
|
|
||||||
gboolean is_valid : 1;
|
gboolean is_valid : 1;
|
||||||
gboolean is_initialized : 1;
|
|
||||||
GError *initialization_error;
|
GError *initialization_error;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -396,13 +395,6 @@ gcal_event_initable_init (GInitable *initable,
|
|||||||
|
|
||||||
G_LOCK (init_lock);
|
G_LOCK (init_lock);
|
||||||
|
|
||||||
if (self->is_initialized)
|
|
||||||
goto out;
|
|
||||||
|
|
||||||
|
|
||||||
out:
|
|
||||||
self->is_initialized = TRUE;
|
|
||||||
|
|
||||||
if (!self->is_valid)
|
if (!self->is_valid)
|
||||||
g_propagate_error (error, g_error_copy (self->initialization_error));
|
g_propagate_error (error, g_error_copy (self->initialization_error));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user