diff options
author | Tarnyko <tarnyko@tarnyko.net> | 2014-02-26 23:15:21 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2014-02-26 23:15:21 +0800 |
commit | 5c60d57082ede522169b65efa67a1e268989b487 (patch) | |
tree | b77a62c5fbee1719f7216f7135c068ca081c9c77 /e-util/e-attachment-icon-view.c | |
parent | 5727d74fb54a1c76922099d023a182418c3bac70 (diff) | |
download | gsoc2013-evolution-5c60d57082ede522169b65efa67a1e268989b487.tar gsoc2013-evolution-5c60d57082ede522169b65efa67a1e268989b487.tar.gz gsoc2013-evolution-5c60d57082ede522169b65efa67a1e268989b487.tar.bz2 gsoc2013-evolution-5c60d57082ede522169b65efa67a1e268989b487.tar.lz gsoc2013-evolution-5c60d57082ede522169b65efa67a1e268989b487.tar.xz gsoc2013-evolution-5c60d57082ede522169b65efa67a1e268989b487.tar.zst gsoc2013-evolution-5c60d57082ede522169b65efa67a1e268989b487.zip |
Replace 'interface' with 'iface' in the code
Win32 headers have a #define for 'interface', which breaks the build
when this word is used in the code, thus replace it to 'iface',
the same way as GLib or GTK+ code use to have it. (See bug #722068.)
Diffstat (limited to 'e-util/e-attachment-icon-view.c')
-rw-r--r-- | e-util/e-attachment-icon-view.c | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/e-util/e-attachment-icon-view.c b/e-util/e-attachment-icon-view.c index 363844cd9d..0befff00ae 100644 --- a/e-util/e-attachment-icon-view.c +++ b/e-util/e-attachment-icon-view.c @@ -49,7 +49,7 @@ static gint icon_size = GTK_ICON_SIZE_DIALOG; /* Forward Declarations */ static void e_attachment_icon_view_interface_init - (EAttachmentViewInterface *interface); + (EAttachmentViewInterface *iface); G_DEFINE_TYPE_WITH_CODE ( EAttachmentIconView, @@ -543,23 +543,23 @@ e_attachment_icon_view_init (EAttachmentIconView *icon_view) } static void -e_attachment_icon_view_interface_init (EAttachmentViewInterface *interface) -{ - interface->get_private = attachment_icon_view_get_private; - interface->get_store = attachment_icon_view_get_store; - - interface->get_path_at_pos = attachment_icon_view_get_path_at_pos; - interface->get_selected_paths = attachment_icon_view_get_selected_paths; - interface->path_is_selected = attachment_icon_view_path_is_selected; - interface->select_path = attachment_icon_view_select_path; - interface->unselect_path = attachment_icon_view_unselect_path; - interface->select_all = attachment_icon_view_select_all; - interface->unselect_all = attachment_icon_view_unselect_all; - - interface->drag_source_set = attachment_icon_view_drag_source_set; - interface->drag_dest_set = attachment_icon_view_drag_dest_set; - interface->drag_source_unset = attachment_icon_view_drag_source_unset; - interface->drag_dest_unset = attachment_icon_view_drag_dest_unset; +e_attachment_icon_view_interface_init (EAttachmentViewInterface *iface) +{ + iface->get_private = attachment_icon_view_get_private; + iface->get_store = attachment_icon_view_get_store; + + iface->get_path_at_pos = attachment_icon_view_get_path_at_pos; + iface->get_selected_paths = attachment_icon_view_get_selected_paths; + iface->path_is_selected = attachment_icon_view_path_is_selected; + iface->select_path = attachment_icon_view_select_path; + iface->unselect_path = attachment_icon_view_unselect_path; + iface->select_all = attachment_icon_view_select_all; + iface->unselect_all = attachment_icon_view_unselect_all; + + iface->drag_source_set = attachment_icon_view_drag_source_set; + iface->drag_dest_set = attachment_icon_view_drag_dest_set; + iface->drag_source_unset = attachment_icon_view_drag_source_unset; + iface->drag_dest_unset = attachment_icon_view_drag_dest_unset; } GtkWidget * |