aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-notebook-view.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-08-24 23:21:41 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-08-25 02:37:02 +0800
commitecf3434da05b1f39f793c24b38bfd278e10b5786 (patch)
tree485ed2399920ecb10dbee2b4db4c437c22574a20 /mail/e-mail-notebook-view.c
parentf1d2541c487fbf7433a1b9aad8e8982ef08b85f5 (diff)
downloadgsoc2013-evolution-ecf3434da05b1f39f793c24b38bfd278e10b5786.tar.gz
gsoc2013-evolution-ecf3434da05b1f39f793c24b38bfd278e10b5786.tar.zst
gsoc2013-evolution-ecf3434da05b1f39f793c24b38bfd278e10b5786.zip
GObject boilerplate cleanup.
Prefer thread-safe G_DEFINE_TYPE and G_DEFINE_INTERFACE macros over manual GType registration. This is just a start... lots more to do.
Diffstat (limited to 'mail/e-mail-notebook-view.c')
-rw-r--r--mail/e-mail-notebook-view.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/mail/e-mail-notebook-view.c b/mail/e-mail-notebook-view.c
index 0480ac281c..a10c37031c 100644
--- a/mail/e-mail-notebook-view.c
+++ b/mail/e-mail-notebook-view.c
@@ -71,7 +71,7 @@ enum {
E_SHELL_WINDOW_ACTION_GROUP ((window), "mail")
/* Forward Declarations */
-static void e_mail_notebook_view_reader_init (EMailReaderIface *iface);
+static void e_mail_notebook_view_reader_init (EMailReaderInterface *interface);
G_DEFINE_TYPE_WITH_CODE (
EMailNotebookView, e_mail_notebook_view, E_TYPE_MAIL_VIEW,
@@ -1257,19 +1257,19 @@ e_mail_notebook_view_class_init (EMailNotebookViewClass *class)
}
static void
-e_mail_notebook_view_reader_init (EMailReaderIface *iface)
+e_mail_notebook_view_reader_init (EMailReaderInterface *interface)
{
- iface->get_action_group = mail_notebook_view_get_action_group;
- iface->get_formatter = mail_notebook_view_get_formatter;
- iface->get_hide_deleted = mail_notebook_view_get_hide_deleted;
- iface->get_message_list = mail_notebook_view_get_message_list;
- iface->get_popup_menu = mail_notebook_view_get_popup_menu;
- iface->get_shell_backend = mail_notebook_view_get_shell_backend;
- iface->get_window = mail_notebook_view_get_window;
- iface->set_folder = mail_notebook_view_set_folder;
- iface->show_search_bar = mail_notebook_view_show_search_bar;
- iface->open_selected_mail = mail_notebook_view_open_selected_mail;
- iface->enable_show_folder = mail_notebook_view_enable_show_folder;
+ interface->get_action_group = mail_notebook_view_get_action_group;
+ interface->get_formatter = mail_notebook_view_get_formatter;
+ interface->get_hide_deleted = mail_notebook_view_get_hide_deleted;
+ interface->get_message_list = mail_notebook_view_get_message_list;
+ interface->get_popup_menu = mail_notebook_view_get_popup_menu;
+ interface->get_shell_backend = mail_notebook_view_get_shell_backend;
+ interface->get_window = mail_notebook_view_get_window;
+ interface->set_folder = mail_notebook_view_set_folder;
+ interface->show_search_bar = mail_notebook_view_show_search_bar;
+ interface->open_selected_mail = mail_notebook_view_open_selected_mail;
+ interface->enable_show_folder = mail_notebook_view_enable_show_folder;
}
static void