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 /calendar/gui/e-cal-model-calendar.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 'calendar/gui/e-cal-model-calendar.c')
-rw-r--r-- | calendar/gui/e-cal-model-calendar.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/calendar/gui/e-cal-model-calendar.c b/calendar/gui/e-cal-model-calendar.c index a163117a85..86bc470261 100644 --- a/calendar/gui/e-cal-model-calendar.c +++ b/calendar/gui/e-cal-model-calendar.c @@ -36,7 +36,7 @@ /* Forward Declarations */ static void e_cal_model_calendar_table_model_init - (ETableModelInterface *interface); + (ETableModelInterface *iface); static ETableModelInterface *table_model_parent_interface; @@ -512,20 +512,20 @@ e_cal_model_calendar_class_init (ECalModelCalendarClass *class) } static void -e_cal_model_calendar_table_model_init (ETableModelInterface *interface) +e_cal_model_calendar_table_model_init (ETableModelInterface *iface) { table_model_parent_interface = - g_type_interface_peek_parent (interface); - - interface->column_count = cal_model_calendar_column_count; - interface->value_at = cal_model_calendar_value_at; - interface->set_value_at = cal_model_calendar_set_value_at; - interface->is_cell_editable = cal_model_calendar_is_cell_editable; - interface->duplicate_value = cal_model_calendar_duplicate_value; - interface->free_value = cal_model_calendar_free_value; - interface->initialize_value = cal_model_calendar_initialize_value; - interface->value_is_empty = cal_model_calendar_value_is_empty; - interface->value_to_string = cal_model_calendar_value_to_string; + g_type_interface_peek_parent (iface); + + iface->column_count = cal_model_calendar_column_count; + iface->value_at = cal_model_calendar_value_at; + iface->set_value_at = cal_model_calendar_set_value_at; + iface->is_cell_editable = cal_model_calendar_is_cell_editable; + iface->duplicate_value = cal_model_calendar_duplicate_value; + iface->free_value = cal_model_calendar_free_value; + iface->initialize_value = cal_model_calendar_initialize_value; + iface->value_is_empty = cal_model_calendar_value_is_empty; + iface->value_to_string = cal_model_calendar_value_to_string; } static void |