aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-sorter-array.c
diff options
context:
space:
mode:
authorTarnyko <tarnyko@tarnyko.net>2014-02-26 23:15:21 +0800
committerMilan Crha <mcrha@redhat.com>2014-02-26 23:15:21 +0800
commit5c60d57082ede522169b65efa67a1e268989b487 (patch)
treeb77a62c5fbee1719f7216f7135c068ca081c9c77 /e-util/e-sorter-array.c
parent5727d74fb54a1c76922099d023a182418c3bac70 (diff)
downloadgsoc2013-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-sorter-array.c')
-rw-r--r--e-util/e-sorter-array.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/e-util/e-sorter-array.c b/e-util/e-sorter-array.c
index c8a55c4a0f..f6109ce17f 100644
--- a/e-util/e-sorter-array.c
+++ b/e-util/e-sorter-array.c
@@ -22,7 +22,7 @@
#include "e-misc-utils.h"
/* Forward Declarations */
-static void e_sorter_array_interface_init (ESorterInterface *interface);
+static void e_sorter_array_interface_init (ESorterInterface *iface);
G_DEFINE_TYPE_WITH_CODE (
ESorterArray,
@@ -207,13 +207,13 @@ e_sorter_array_class_init (ESorterArrayClass *class)
}
static void
-e_sorter_array_interface_init (ESorterInterface *interface)
+e_sorter_array_interface_init (ESorterInterface *iface)
{
- interface->model_to_sorted = sorter_array_model_to_sorted;
- interface->sorted_to_model = sorter_array_sorted_to_model;
- interface->get_model_to_sorted_array = sorter_array_get_model_to_sorted_array;
- interface->get_sorted_to_model_array = sorter_array_get_sorted_to_model_array;
- interface->needs_sorting = sorter_array_needs_sorting;
+ iface->model_to_sorted = sorter_array_model_to_sorted;
+ iface->sorted_to_model = sorter_array_sorted_to_model;
+ iface->get_model_to_sorted_array = sorter_array_get_model_to_sorted_array;
+ iface->get_sorted_to_model_array = sorter_array_get_sorted_to_model_array;
+ iface->needs_sorting = sorter_array_needs_sorting;
}
static void