diff options
author | Matthew Barnes <mbarnes@src.gnome.org> | 2008-09-17 23:07:13 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2008-09-17 23:07:13 +0800 |
commit | bb7cb1d677117a938ae18d9cae7acc7a56678b6f (patch) | |
tree | b0e4f8354732c23a0ade524fd2036c4ced7275da /a11y | |
parent | 7d2c28c02c6ecddcf492f385cacbd3d24ac215db (diff) | |
download | gsoc2013-evolution-bb7cb1d677117a938ae18d9cae7acc7a56678b6f.tar.gz gsoc2013-evolution-bb7cb1d677117a938ae18d9cae7acc7a56678b6f.tar.zst gsoc2013-evolution-bb7cb1d677117a938ae18d9cae7acc7a56678b6f.zip |
Massive address book refactoring. Things are mostly working again.
Also, begin documenting the new shell API, and provide a Gtk-Doc framework.
svn path=/branches/kill-bonobo/; revision=36359
Diffstat (limited to 'a11y')
-rw-r--r-- | a11y/addressbook/ea-addressbook-view.c | 17 | ||||
-rw-r--r-- | a11y/addressbook/ea-addressbook.c | 2 |
2 files changed, 10 insertions, 9 deletions
diff --git a/a11y/addressbook/ea-addressbook-view.c b/a11y/addressbook/ea-addressbook-view.c index 174fff71f7..7667feb108 100644 --- a/a11y/addressbook/ea-addressbook-view.c +++ b/a11y/addressbook/ea-addressbook-view.c @@ -28,7 +28,7 @@ static G_CONST_RETURN gchar* ea_ab_view_get_name (AtkObject *accessible); static G_CONST_RETURN gchar* ea_ab_view_get_description (AtkObject *accessible); -static void ea_ab_view_class_init (EABViewClass *klass); +static void ea_ab_view_class_init (EAddressbookViewClass *class); static gpointer parent_class = NULL; @@ -42,13 +42,13 @@ ea_ab_view_get_type (void) if (!type) { static GTypeInfo tinfo = { - sizeof (EABViewClass), + sizeof (EAddressbookViewClass), (GBaseInitFunc) NULL, /* base_init */ (GBaseFinalizeFunc) NULL, /* base_finalize */ (GClassInitFunc) ea_ab_view_class_init, (GClassFinalizeFunc) NULL, /* class_finalize */ NULL, /* class_data */ - sizeof (EaABView), + sizeof (EAddressbookView), 0, /* n_preallocs */ (GInstanceInitFunc) NULL, /* instance init */ NULL /* value table */ @@ -74,14 +74,15 @@ ea_ab_view_get_type (void) } static void -ea_ab_view_class_init (EABViewClass *klass) +ea_ab_view_class_init (EAddressbookViewClass *class) { - AtkObjectClass *class = ATK_OBJECT_CLASS (klass); + AtkObjectClass *atk_object_class; - parent_class = g_type_class_peek_parent (klass); + parent_class = g_type_class_peek_parent (class); - class->get_name = ea_ab_view_get_name; - class->get_description = ea_ab_view_get_description; + atk_object_class = ATK_OBJECT_CLASS (class); + atk_object_class->get_name = ea_ab_view_get_name; + atk_object_class->get_description = ea_ab_view_get_description; } static G_CONST_RETURN gchar* diff --git a/a11y/addressbook/ea-addressbook.c b/a11y/addressbook/ea-addressbook.c index b41a98434e..e94309de43 100644 --- a/a11y/addressbook/ea-addressbook.c +++ b/a11y/addressbook/ea-addressbook.c @@ -55,7 +55,7 @@ void e_minicard_view_a11y_init (void) void eab_view_a11y_init (void) { - EA_SET_FACTORY (eab_view_get_type (), ea_ab_view); + EA_SET_FACTORY (E_TYPE_ADDRESSBOOK_VIEW, ea_ab_view); } static gboolean |