~ubuntu-branches/ubuntu/wily/evolution-data-server/wily

« back to all changes in this revision

Viewing changes to calendar/backends/gtasks/e-cal-backend-gtasks-factory.c

  • Committer: Package Import Robot
  • Author(s): Iain Lane
  • Date: 2015-07-20 13:34:59 UTC
  • mfrom: (1.1.126) (1.2.48 sid)
  • Revision ID: package-import@ubuntu.com-20150720133459-g6y46hnu5ewtoz08
Tags: 3.16.4-0ubuntu2
debian/patches/0001-Bug-752373-Monthly-events-do-not-recur-correctly.patch:
Cherry-pick patch from upstream to fix events not recurring correctly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
typedef ECalBackendFactory ECalBackendGTasksFactory;
26
26
typedef ECalBackendFactoryClass ECalBackendGTasksFactoryClass;
27
27
 
 
28
static EModule *e_module;
 
29
 
28
30
/* Module Entry Points */
29
31
void e_module_load (GTypeModule *type_module);
30
32
void e_module_unload (GTypeModule *type_module);
40
42
static void
41
43
e_cal_backend_gtasks_factory_class_init (ECalBackendFactoryClass *class)
42
44
{
 
45
        EBackendFactoryClass *backend_factory_class;
 
46
 
 
47
        backend_factory_class = E_BACKEND_FACTORY_CLASS (class);
 
48
        backend_factory_class->e_module = e_module;
 
49
        backend_factory_class->share_subprocess = TRUE;
 
50
 
43
51
        class->factory_name = FACTORY_NAME;
44
52
        class->component_kind = ICAL_VTODO_COMPONENT;
45
53
        class->backend_type = E_TYPE_CAL_BACKEND_GTASKS;
58
66
G_MODULE_EXPORT void
59
67
e_module_load (GTypeModule *type_module)
60
68
{
 
69
        e_module = E_MODULE (type_module);
 
70
 
61
71
        e_cal_backend_gtasks_factory_register_type (type_module);
62
72
}
63
73
 
64
74
G_MODULE_EXPORT void
65
75
e_module_unload (GTypeModule *type_module)
66
76
{
 
77
        e_module = NULL;
67
78
}