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

« back to all changes in this revision

Viewing changes to addressbook/backends/file/e-book-backend-file-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:
4
4
 *
5
5
 * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
6
6
 *
7
 
 * This library is free software; you can redistribute it and/or modify it
 
7
 * This library is free software: you can redistribute it and/or modify it
8
8
 * under the terms of the GNU Lesser General Public License as published by
9
9
 * the Free Software Foundation.
10
10
 *
11
11
 * This library is distributed in the hope that it will be useful, but
12
12
 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13
 
 * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 
13
 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
14
14
 * for more details.
15
15
 *
16
16
 * You should have received a copy of the GNU Lesser General Public License
17
 
 * along with this library; if not, see <http://www.gnu.org/licenses/>.
 
17
 * along with this library. If not, see <http://www.gnu.org/licenses/>.
18
18
 *
19
19
 * Authors: Chris Toshok <toshok@ximian.com>
20
20
 */
28
28
typedef EBookBackendFactory EBookBackendFileFactory;
29
29
typedef EBookBackendFactoryClass EBookBackendFileFactoryClass;
30
30
 
 
31
static EModule *e_module;
 
32
 
31
33
/* Module Entry Points */
32
34
void e_module_load (GTypeModule *type_module);
33
35
void e_module_unload (GTypeModule *type_module);
43
45
static void
44
46
e_book_backend_file_factory_class_init (EBookBackendFactoryClass *class)
45
47
{
 
48
        EBackendFactoryClass *backend_factory_class;
 
49
 
 
50
        backend_factory_class = E_BACKEND_FACTORY_CLASS (class);
 
51
        backend_factory_class->e_module = e_module;
 
52
        backend_factory_class->share_subprocess = TRUE;
 
53
 
46
54
        class->factory_name = FACTORY_NAME;
47
55
        class->backend_type = E_TYPE_BOOK_BACKEND_FILE;
48
56
}
60
68
G_MODULE_EXPORT void
61
69
e_module_load (GTypeModule *type_module)
62
70
{
 
71
        e_module = E_MODULE (type_module);
 
72
 
63
73
        e_book_backend_file_factory_register_type (type_module);
64
74
}
65
75
 
66
76
G_MODULE_EXPORT void
67
77
e_module_unload (GTypeModule *type_module)
68
78
{
 
79
        e_module = NULL;
69
80
}
70