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-focus-tracker.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-focus-tracker.c')
-rw-r--r-- | e-util/e-focus-tracker.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/e-util/e-focus-tracker.c b/e-util/e-focus-tracker.c index 18f4327f07..42cd634202 100644 --- a/e-util/e-focus-tracker.c +++ b/e-util/e-focus-tracker.c @@ -261,10 +261,10 @@ focus_tracker_selectable_update_actions (EFocusTracker *focus_tracker, GdkAtom *targets, gint n_targets) { - ESelectableInterface *interface; + ESelectableInterface *iface; GtkAction *action; - interface = E_SELECTABLE_GET_INTERFACE (selectable); + iface = E_SELECTABLE_GET_INTERFACE (selectable); e_selectable_update_actions ( selectable, focus_tracker, targets, n_targets); @@ -276,31 +276,31 @@ focus_tracker_selectable_update_actions (EFocusTracker *focus_tracker, * ESelectable implementations. */ action = e_focus_tracker_get_cut_clipboard_action (focus_tracker); - if (action != NULL && interface->cut_clipboard == NULL) + if (action != NULL && iface->cut_clipboard == NULL) gtk_action_set_sensitive (action, FALSE); action = e_focus_tracker_get_copy_clipboard_action (focus_tracker); - if (action != NULL && interface->copy_clipboard == NULL) + if (action != NULL && iface->copy_clipboard == NULL) gtk_action_set_sensitive (action, FALSE); action = e_focus_tracker_get_paste_clipboard_action (focus_tracker); - if (action != NULL && interface->paste_clipboard == NULL) + if (action != NULL && iface->paste_clipboard == NULL) gtk_action_set_sensitive (action, FALSE); action = e_focus_tracker_get_delete_selection_action (focus_tracker); - if (action != NULL && interface->delete_selection == NULL) + if (action != NULL && iface->delete_selection == NULL) gtk_action_set_sensitive (action, FALSE); action = e_focus_tracker_get_select_all_action (focus_tracker); - if (action != NULL && interface->select_all == NULL) + if (action != NULL && iface->select_all == NULL) gtk_action_set_sensitive (action, FALSE); action = e_focus_tracker_get_undo_action (focus_tracker); - if (action != NULL && interface->undo == NULL) + if (action != NULL && iface->undo == NULL) gtk_action_set_sensitive (action, FALSE); action = e_focus_tracker_get_redo_action (focus_tracker); - if (action != NULL && interface->redo == NULL) + if (action != NULL && iface->redo == NULL) gtk_action_set_sensitive (action, FALSE); } |