~ubuntu-branches/ubuntu/maverick/evolution-data-server/maverick-proposed

« back to all changes in this revision

Viewing changes to calendar/backends/file/e-cal-backend-file-todos.c

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2010-05-17 17:02:06 UTC
  • mfrom: (1.1.79 upstream) (1.6.12 experimental)
  • Revision ID: james.westby@ubuntu.com-20100517170206-4ufr52vwrhh26yh0
Tags: 2.30.1-1ubuntu1
* Merge from debian experimental. Remaining change:
  (LP: #42199, #229669, #173703, #360344, #508494)
  + debian/control:
    - add Vcs-Bzr tag
    - don't use libgnome
    - Use Breaks instead of Conflicts against evolution 2.25 and earlier.
  + debian/evolution-data-server.install,
    debian/patches/45_libcamel_providers_version.patch:
    - use the upstream versioning, not a Debian-specific one 
  + debian/libedata-book1.2-dev.install, debian/libebackend-1.2-dev.install,
    debian/libcamel1.2-dev.install, debian/libedataserverui1.2-dev.install:
    - install html documentation
  + debian/rules:
    - don't build documentation it's shipped with the tarball

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 
26
26
#include "e-cal-backend-file-todos.h"
27
27
 
 
28
G_DEFINE_TYPE (ECalBackendFileTodos, e_cal_backend_file_todos, E_TYPE_CAL_BACKEND_FILE)
 
29
 
28
30
 
29
31
 
30
32
/* Private part of the ECalBackendFileTodos structure */
34
36
 
35
37
 
36
38
 
37
 
static void e_cal_backend_file_todos_class_init (ECalBackendFileTodosClass *class);
38
 
static void e_cal_backend_file_todos_init (ECalBackendFileTodos *cbfile, ECalBackendFileTodosClass *class);
39
39
static void e_cal_backend_file_todos_dispose (GObject *object);
40
40
static void e_cal_backend_file_todos_finalize (GObject *object);
41
41
 
43
43
 
44
44
 
45
45
 
46
 
/**
47
 
 * e_cal_backend_file_todos_get_type:
48
 
 * @void:
49
 
 *
50
 
 * Registers the #ECalBackendFileTodos class if necessary, and returns the type ID
51
 
 * associated to it.
52
 
 *
53
 
 * Return value: The type ID of the #ECalBackendFileTodos class.
54
 
 **/
55
 
GType
56
 
e_cal_backend_file_todos_get_type (void)
57
 
{
58
 
        static GType e_cal_backend_file_todos_type = 0;
59
 
 
60
 
        if (!e_cal_backend_file_todos_type) {
61
 
                static GTypeInfo info = {
62
 
                        sizeof (ECalBackendFileTodosClass),
63
 
                        (GBaseInitFunc) NULL,
64
 
                        (GBaseFinalizeFunc) NULL,
65
 
                        (GClassInitFunc) e_cal_backend_file_todos_class_init,
66
 
                        NULL, NULL,
67
 
                        sizeof (ECalBackendFileTodos),
68
 
                        0,
69
 
                        (GInstanceInitFunc) e_cal_backend_file_todos_init
70
 
                };
71
 
                e_cal_backend_file_todos_type = g_type_register_static (E_TYPE_CAL_BACKEND_FILE,
72
 
                                                                      "ECalBackendFileTodos", &info, 0);
73
 
        }
74
 
 
75
 
        return e_cal_backend_file_todos_type;
76
 
}
77
 
 
78
46
/* Class initialization function for the file backend */
79
47
static void
80
48
e_cal_backend_file_todos_class_init (ECalBackendFileTodosClass *klass)
93
61
 
94
62
/* Object initialization function for the file backend */
95
63
static void
96
 
e_cal_backend_file_todos_init (ECalBackendFileTodos *cbfile, ECalBackendFileTodosClass *class)
 
64
e_cal_backend_file_todos_init (ECalBackendFileTodos *cbfile)
97
65
{
98
66
        ECalBackendFileTodosPrivate *priv;
99
67
 
122
90
e_cal_backend_file_todos_finalize (GObject *object)
123
91
{
124
92
        ECalBackendFileTodos *cbfile;
125
 
        ECalBackendFileTodosPrivate *priv;
126
93
 
127
94
        g_return_if_fail (object != NULL);
128
95
        g_return_if_fail (E_IS_CAL_BACKEND_FILE_TODOS (object));
129
96
 
130
97
        cbfile = E_CAL_BACKEND_FILE_TODOS (object);
131
 
        priv = cbfile->priv;
132
98
 
133
99
        if (G_OBJECT_CLASS (parent_class)->finalize)
134
100
                (* G_OBJECT_CLASS (parent_class)->finalize) (object);