aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-attachment-bar.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-attachment-bar.c
parentf1d2541c487fbf7433a1b9aad8e8982ef08b85f5 (diff)
downloadgsoc2013-evolution-ecf3434da05b1f39f793c24b38bfd278e10b5786.tar
gsoc2013-evolution-ecf3434da05b1f39f793c24b38bfd278e10b5786.tar.gz
gsoc2013-evolution-ecf3434da05b1f39f793c24b38bfd278e10b5786.tar.bz2
gsoc2013-evolution-ecf3434da05b1f39f793c24b38bfd278e10b5786.tar.lz
gsoc2013-evolution-ecf3434da05b1f39f793c24b38bfd278e10b5786.tar.xz
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-attachment-bar.c')
-rw-r--r--mail/e-mail-attachment-bar.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/mail/e-mail-attachment-bar.c b/mail/e-mail-attachment-bar.c
index b5a82dbcc1..c5ce9cf7bf 100644
--- a/mail/e-mail-attachment-bar.c
+++ b/mail/e-mail-attachment-bar.c
@@ -489,18 +489,18 @@ mail_attachment_bar_class_init (EMailAttachmentBarClass *class)
}
static void
-mail_attachment_bar_iface_init (EAttachmentViewIface *iface)
+mail_attachment_bar_interface_init (EAttachmentViewInterface *interface)
{
- iface->get_private = mail_attachment_bar_get_private;
- iface->get_store = mail_attachment_bar_get_store;
- iface->get_path_at_pos = mail_attachment_bar_get_path_at_pos;
- iface->get_selected_paths = mail_attachment_bar_get_selected_paths;
- iface->path_is_selected = mail_attachment_bar_path_is_selected;
- iface->select_path = mail_attachment_bar_select_path;
- iface->unselect_path = mail_attachment_bar_unselect_path;
- iface->select_all = mail_attachment_bar_select_all;
- iface->unselect_all = mail_attachment_bar_unselect_all;
- iface->update_actions = mail_attachment_bar_update_actions;
+ interface->get_private = mail_attachment_bar_get_private;
+ interface->get_store = mail_attachment_bar_get_store;
+ interface->get_path_at_pos = mail_attachment_bar_get_path_at_pos;
+ interface->get_selected_paths = mail_attachment_bar_get_selected_paths;
+ interface->path_is_selected = mail_attachment_bar_path_is_selected;
+ interface->select_path = mail_attachment_bar_select_path;
+ interface->unselect_path = mail_attachment_bar_unselect_path;
+ interface->select_all = mail_attachment_bar_select_all;
+ interface->unselect_all = mail_attachment_bar_unselect_all;
+ interface->update_actions = mail_attachment_bar_update_actions;
}
static void
@@ -665,8 +665,8 @@ e_mail_attachment_bar_get_type (void)
NULL /* value_table */
};
- static const GInterfaceInfo iface_info = {
- (GInterfaceInitFunc) mail_attachment_bar_iface_init,
+ static const GInterfaceInfo interface_info = {
+ (GInterfaceInitFunc) mail_attachment_bar_interface_init,
(GInterfaceFinalizeFunc) NULL,
NULL /* interface_data */
};
@@ -675,7 +675,7 @@ e_mail_attachment_bar_get_type (void)
GTK_TYPE_VBOX, "EMailAttachmentBar", &type_info, 0);
g_type_add_interface_static (
- type, E_TYPE_ATTACHMENT_VIEW, &iface_info);
+ type, E_TYPE_ATTACHMENT_VIEW, &interface_info);
}
return type;