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

« back to all changes in this revision

Viewing changes to addressbook/backends/ldap/e-book-backend-ldap-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
 */
31
31
typedef EBookBackendFactory EBookBackendLDAPFactory;
32
32
typedef EBookBackendFactoryClass EBookBackendLDAPFactoryClass;
33
33
 
 
34
static EModule *e_module;
 
35
 
34
36
/* Module Entry Points */
35
37
void e_module_load (GTypeModule *type_module);
36
38
void e_module_unload (GTypeModule *type_module);
46
48
static void
47
49
e_book_backend_ldap_factory_class_init (EBookBackendFactoryClass *class)
48
50
{
 
51
        EBackendFactoryClass *backend_factory_class;
 
52
 
 
53
        backend_factory_class = E_BACKEND_FACTORY_CLASS (class);
 
54
        backend_factory_class->e_module = e_module;
 
55
        backend_factory_class->share_subprocess = TRUE;
 
56
 
49
57
        class->factory_name = FACTORY_NAME;
50
58
        class->backend_type = E_TYPE_BOOK_BACKEND_LDAP;
51
59
}
63
71
G_MODULE_EXPORT void
64
72
e_module_load (GTypeModule *type_module)
65
73
{
 
74
        e_module = E_MODULE (type_module);
 
75
 
66
76
        e_source_ldap_type_register (type_module);
67
77
        e_book_backend_ldap_factory_register_type (type_module);
68
78
}
70
80
G_MODULE_EXPORT void
71
81
e_module_unload (GTypeModule *type_module)
72
82
{
 
83
        e_module = NULL;
73
84
}
74