From 5c60d57082ede522169b65efa67a1e268989b487 Mon Sep 17 00:00:00 2001 From: Tarnyko Date: Wed, 26 Feb 2014 16:15:21 +0100 Subject: 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.) --- e-util/e-web-view.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'e-util/e-web-view.c') diff --git a/e-util/e-web-view.c b/e-util/e-web-view.c index b69be96eb0..8e8f852fbb 100644 --- a/e-util/e-web-view.c +++ b/e-util/e-web-view.c @@ -132,8 +132,8 @@ static const gchar *ui = ""; /* Forward Declarations */ -static void e_web_view_alert_sink_init (EAlertSinkInterface *interface); -static void e_web_view_selectable_init (ESelectableInterface *interface); +static void e_web_view_alert_sink_init (EAlertSinkInterface *iface); +static void e_web_view_selectable_init (ESelectableInterface *iface); G_DEFINE_TYPE_WITH_CODE ( EWebView, @@ -1569,19 +1569,19 @@ e_web_view_class_init (EWebViewClass *class) } static void -e_web_view_alert_sink_init (EAlertSinkInterface *interface) +e_web_view_alert_sink_init (EAlertSinkInterface *iface) { - interface->submit_alert = web_view_submit_alert; + iface->submit_alert = web_view_submit_alert; } static void -e_web_view_selectable_init (ESelectableInterface *interface) +e_web_view_selectable_init (ESelectableInterface *iface) { - interface->update_actions = web_view_selectable_update_actions; - interface->cut_clipboard = web_view_selectable_cut_clipboard; - interface->copy_clipboard = web_view_selectable_copy_clipboard; - interface->paste_clipboard = web_view_selectable_paste_clipboard; - interface->select_all = web_view_selectable_select_all; + iface->update_actions = web_view_selectable_update_actions; + iface->cut_clipboard = web_view_selectable_cut_clipboard; + iface->copy_clipboard = web_view_selectable_copy_clipboard; + iface->paste_clipboard = web_view_selectable_paste_clipboard; + iface->select_all = web_view_selectable_select_all; } static void -- cgit v1.2.3