aboutsummaryrefslogtreecommitdiffstats
path: root/a11y
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-27 23:13:25 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-29 00:13:23 +0800
commitfad4af8a3d4c6f50f7bcceca8d545eb17d6fd056 (patch)
treeae78be371695c3dc18847b87d3f014f985aa3a40 /a11y
parent6f5464f34ceec9e5701e3e3e651a40f9e6b3a072 (diff)
downloadgsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar
gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar.gz
gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar.bz2
gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar.lz
gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar.xz
gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar.zst
gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.zip
Prefer GLib basic types over C types.
Diffstat (limited to 'a11y')
-rw-r--r--a11y/addressbook/ea-addressbook-view.c8
-rw-r--r--a11y/addressbook/ea-minicard-view.c18
-rw-r--r--a11y/addressbook/ea-minicard.c18
-rw-r--r--a11y/calendar/ea-cal-view-event.c18
-rw-r--r--a11y/calendar/ea-cal-view.c18
-rw-r--r--a11y/calendar/ea-calendar.c4
-rw-r--r--a11y/calendar/ea-day-view-cell.c10
-rw-r--r--a11y/calendar/ea-day-view-main-item.c16
-rw-r--r--a11y/calendar/ea-day-view.c10
-rw-r--r--a11y/calendar/ea-gnome-calendar.c16
-rw-r--r--a11y/calendar/ea-jump-button.c12
-rw-r--r--a11y/calendar/ea-week-view-cell.c10
-rw-r--r--a11y/calendar/ea-week-view-main-item.c16
-rw-r--r--a11y/calendar/ea-week-view.c14
-rw-r--r--a11y/e-table/gal-a11y-e-cell-popup.c6
-rw-r--r--a11y/e-table/gal-a11y-e-cell-popup.h6
-rw-r--r--a11y/e-table/gal-a11y-e-cell-registry.c6
-rw-r--r--a11y/e-table/gal-a11y-e-cell-registry.h12
-rw-r--r--a11y/e-table/gal-a11y-e-cell-text.c18
-rw-r--r--a11y/e-table/gal-a11y-e-cell-text.h6
-rw-r--r--a11y/e-table/gal-a11y-e-cell-toggle.c6
-rw-r--r--a11y/e-table/gal-a11y-e-cell-toggle.h6
-rw-r--r--a11y/e-table/gal-a11y-e-cell-tree.c6
-rw-r--r--a11y/e-table/gal-a11y-e-cell-tree.h8
-rw-r--r--a11y/e-table/gal-a11y-e-cell-vbox.c8
-rw-r--r--a11y/e-table/gal-a11y-e-cell-vbox.h8
-rw-r--r--a11y/e-table/gal-a11y-e-cell.c22
-rw-r--r--a11y/e-table/gal-a11y-e-cell.h18
-rw-r--r--a11y/e-table/gal-a11y-e-table-click-to-add.c6
-rw-r--r--a11y/e-table/gal-a11y-e-table-column-header.c4
-rw-r--r--a11y/e-table/gal-a11y-e-table-item.c40
-rw-r--r--a11y/e-table/gal-a11y-e-table.c4
-rw-r--r--a11y/e-table/gal-a11y-e-tree.c2
-rw-r--r--a11y/e-text/gal-a11y-e-text.c68
-rw-r--r--a11y/ea-cell-table.c8
-rw-r--r--a11y/ea-cell-table.h4
-rw-r--r--a11y/ea-factory.h2
-rw-r--r--a11y/gal-a11y-factory.h2
-rw-r--r--a11y/gal-a11y-util.h2
-rw-r--r--a11y/widgets/ea-calendar-cell.c10
-rw-r--r--a11y/widgets/ea-calendar-item.c16
-rw-r--r--a11y/widgets/ea-combo-button.c2
42 files changed, 247 insertions, 247 deletions
diff --git a/a11y/addressbook/ea-addressbook-view.c b/a11y/addressbook/ea-addressbook-view.c
index 6c2da221b9..75309daa14 100644
--- a/a11y/addressbook/ea-addressbook-view.c
+++ b/a11y/addressbook/ea-addressbook-view.c
@@ -25,8 +25,8 @@
#include <glib/gi18n.h>
#include "ea-addressbook-view.h"
-static G_CONST_RETURN gchar* ea_ab_view_get_name (AtkObject *accessible);
-static G_CONST_RETURN gchar* ea_ab_view_get_description (AtkObject *accessible);
+static G_CONST_RETURN gchar * ea_ab_view_get_name (AtkObject *accessible);
+static G_CONST_RETURN gchar * ea_ab_view_get_description (AtkObject *accessible);
static void ea_ab_view_class_init (EABViewClass *klass);
@@ -84,7 +84,7 @@ ea_ab_view_class_init (EABViewClass *klass)
class->get_description = ea_ab_view_get_description;
}
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
ea_ab_view_get_name (AtkObject *accessible)
{
g_return_val_if_fail (EA_IS_AB_VIEW(accessible), NULL);
@@ -94,7 +94,7 @@ ea_ab_view_get_name (AtkObject *accessible)
return _("evolution address book");
}
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
ea_ab_view_get_description (AtkObject *accessible)
{
if (accessible->description)
diff --git a/a11y/addressbook/ea-minicard-view.c b/a11y/addressbook/ea-minicard-view.c
index dab53e6ce5..d13975b34a 100644
--- a/a11y/addressbook/ea-minicard-view.c
+++ b/a11y/addressbook/ea-minicard-view.c
@@ -29,14 +29,14 @@
#include "eab-gui-util.h"
#include "e-addressbook-view.h"
-static const char * action_name[] = {
+static const gchar * action_name[] = {
N_("New Contact"),
N_("New Contact List")
};
-static G_CONST_RETURN gchar* ea_minicard_view_get_name (AtkObject *accessible);
-static G_CONST_RETURN gchar* ea_minicard_view_get_description (AtkObject *accessible);
+static G_CONST_RETURN gchar * ea_minicard_view_get_name (AtkObject *accessible);
+static G_CONST_RETURN gchar * ea_minicard_view_get_description (AtkObject *accessible);
static void ea_minicard_view_class_init (EaMinicardViewClass *klass);
@@ -58,8 +58,8 @@ static gboolean selection_interface_is_child_selected (AtkSelection *selection,
static void atk_action_interface_init (AtkActionIface *iface);
static gboolean atk_action_interface_do_action (AtkAction *iface, gint i);
static gint atk_action_interface_get_n_action (AtkAction *iface);
-static G_CONST_RETURN gchar* atk_action_interface_get_description (AtkAction *iface, gint i);
-static G_CONST_RETURN gchar* atk_action_interface_get_name (AtkAction *iface, gint i);
+static G_CONST_RETURN gchar * atk_action_interface_get_description (AtkAction *iface, gint i);
+static G_CONST_RETURN gchar * atk_action_interface_get_name (AtkAction *iface, gint i);
static gpointer parent_class = NULL;
@@ -135,7 +135,7 @@ ea_minicard_view_class_init (EaMinicardViewClass *klass)
class->ref_child = ea_minicard_view_ref_child;
}
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
ea_minicard_view_get_name (AtkObject *accessible)
{
EReflow *reflow;
@@ -169,7 +169,7 @@ ea_minicard_view_get_name (AtkObject *accessible)
return accessible->name;
}
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
ea_minicard_view_get_description (AtkObject *accessible)
{
g_return_val_if_fail (EA_IS_MINICARD_VIEW(accessible), NULL);
@@ -403,13 +403,13 @@ static gint atk_action_interface_get_n_action (AtkAction *iface)
return G_N_ELEMENTS (action_name);
}
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
atk_action_interface_get_description (AtkAction *iface, gint i)
{
return atk_action_interface_get_name (iface, i);
}
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
atk_action_interface_get_name (AtkAction *iface, gint i)
{
if( i >= G_N_ELEMENTS (action_name) || i < 0)
diff --git a/a11y/addressbook/ea-minicard.c b/a11y/addressbook/ea-minicard.c
index d77d591fcc..b1b1ebbe33 100644
--- a/a11y/addressbook/ea-minicard.c
+++ b/a11y/addressbook/ea-minicard.c
@@ -27,12 +27,12 @@
#include "ea-minicard-view.h"
#include "e-minicard.h"
-static const char * action_name[] = {
+static const gchar * action_name[] = {
N_("Open")
};
-static G_CONST_RETURN gchar* ea_minicard_get_name (AtkObject *accessible);
-static G_CONST_RETURN gchar* ea_minicard_get_description (AtkObject *accessible);
+static G_CONST_RETURN gchar * ea_minicard_get_name (AtkObject *accessible);
+static G_CONST_RETURN gchar * ea_minicard_get_description (AtkObject *accessible);
static void ea_minicard_class_init (EaMinicardClass *klass);
@@ -44,8 +44,8 @@ static AtkStateSet *ea_minicard_ref_state_set (AtkObject *obj);
static void atk_action_interface_init (AtkActionIface *iface);
static gboolean atk_action_interface_do_action (AtkAction *iface, gint i);
static gint atk_action_interface_get_n_action (AtkAction *iface);
-static G_CONST_RETURN gchar* atk_action_interface_get_description (AtkAction *iface, gint i);
-static G_CONST_RETURN gchar* atk_action_interface_get_name (AtkAction *iface, gint i);
+static G_CONST_RETURN gchar * atk_action_interface_get_description (AtkAction *iface, gint i);
+static G_CONST_RETURN gchar * atk_action_interface_get_name (AtkAction *iface, gint i);
static gpointer parent_class = NULL;
@@ -117,7 +117,7 @@ ea_minicard_class_init (EaMinicardClass *klass)
* we access the main content of current minicard, including
* header text, label(field, field name)
*/
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
ea_minicard_get_name (AtkObject *accessible)
{
#define BUFFERSIZE 500
@@ -159,7 +159,7 @@ ea_minicard_get_name (AtkObject *accessible)
return accessible->name;
}
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
ea_minicard_get_description (AtkObject *accessible)
{
if (accessible->description)
@@ -256,13 +256,13 @@ static gint atk_action_interface_get_n_action (AtkAction *iface)
return G_N_ELEMENTS (action_name);
}
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
atk_action_interface_get_description (AtkAction *iface, gint i)
{
return atk_action_interface_get_name (iface, i);
}
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
atk_action_interface_get_name (AtkAction *iface, gint i)
{
if( i >= G_N_ELEMENTS (action_name) || i < 0)
diff --git a/a11y/calendar/ea-cal-view-event.c b/a11y/calendar/ea-cal-view-event.c
index e0c0f8fdac..5da164323f 100644
--- a/a11y/calendar/ea-cal-view-event.c
+++ b/a11y/calendar/ea-cal-view-event.c
@@ -31,8 +31,8 @@ static void ea_cal_view_event_class_init (EaCalViewEventClass *klass);
static void ea_cal_view_event_init (EaCalViewEvent *a11y);
static void ea_cal_view_event_dispose (GObject *object);
-static G_CONST_RETURN gchar* ea_cal_view_event_get_name (AtkObject *accessible);
-static G_CONST_RETURN gchar* ea_cal_view_event_get_description (AtkObject *accessible);
+static G_CONST_RETURN gchar * ea_cal_view_event_get_name (AtkObject *accessible);
+static G_CONST_RETURN gchar * ea_cal_view_event_get_description (AtkObject *accessible);
static AtkObject* ea_cal_view_event_get_parent (AtkObject *accessible);
static gint ea_cal_view_event_get_index_in_parent (AtkObject *accessible);
static AtkStateSet *ea_cal_view_event_ref_state_set (AtkObject *accessible);
@@ -46,7 +46,7 @@ static void ea_cal_view_get_extents (AtkComponent *component,
static void atk_action_interface_init (AtkActionIface *iface);
static gboolean ea_cal_view_event_do_action (AtkAction *action, gint i);
static gint ea_cal_view_event_get_n_actions (AtkAction *action);
-static G_CONST_RETURN gchar* ea_cal_view_event_action_get_name (AtkAction *action, gint i);
+static G_CONST_RETURN gchar * ea_cal_view_event_action_get_name (AtkAction *action, gint i);
#ifdef ACC_DEBUG
@@ -240,7 +240,7 @@ ea_cal_view_event_dispose (GObject *object)
G_OBJECT_CLASS(parent_class)->dispose (object);
}
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
ea_cal_view_event_get_name (AtkObject *accessible)
{
AtkGObjectAccessible *atk_gobj;
@@ -251,7 +251,7 @@ ea_cal_view_event_get_name (AtkObject *accessible)
const gchar *recur_string;
const gchar *meeting_string;
gchar *summary_string;
- const char *summary;
+ const gchar *summary;
g_return_val_if_fail (EA_IS_CAL_VIEW_EVENT (accessible), NULL);
@@ -287,13 +287,13 @@ ea_cal_view_event_get_name (AtkObject *accessible)
ATK_OBJECT_CLASS (parent_class)->set_name (accessible, name_string);
#ifdef ACC_DEBUG
printf("EvoAcc: name for event accobj=%p, is %s\n",
- (void *)accessible, new_name);
+ (gpointer)accessible, new_name);
#endif
g_free (name_string);
return accessible->name;
}
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
ea_cal_view_event_get_description (AtkObject *accessible)
{
if (accessible->description)
@@ -526,7 +526,7 @@ ea_cal_view_get_extents (AtkComponent *component,
#define CAL_VIEW_EVENT_ACTION_NUM 1
-static const char * action_name [CAL_VIEW_EVENT_ACTION_NUM] = {
+static const gchar * action_name [CAL_VIEW_EVENT_ACTION_NUM] = {
N_("Grab Focus")
};
@@ -563,7 +563,7 @@ ea_cal_view_event_get_n_actions (AtkAction *action)
return CAL_VIEW_EVENT_ACTION_NUM;
}
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
ea_cal_view_event_action_get_name (AtkAction *action, gint i)
{
if (i >= 0 && i < CAL_VIEW_EVENT_ACTION_NUM)
diff --git a/a11y/calendar/ea-cal-view.c b/a11y/calendar/ea-cal-view.c
index 7e337ac16b..952afcc791 100644
--- a/a11y/calendar/ea-cal-view.c
+++ b/a11y/calendar/ea-cal-view.c
@@ -45,11 +45,11 @@ static void ea_cal_view_dates_change_cb (GnomeCalendar *gcal, gpointer data);
static void atk_action_interface_init (AtkActionIface *iface);
static gboolean action_interface_do_action (AtkAction *action, gint i);
static gint action_interface_get_n_actions (AtkAction *action);
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
action_interface_get_description(AtkAction *action, gint i);
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
action_interface_get_keybinding (AtkAction *action, gint i);
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
action_interface_action_get_name(AtkAction *action, gint i);
static gpointer parent_class = NULL;
@@ -212,7 +212,7 @@ ea_cal_view_event_changed_cb (ECalendarView *cal_view, ECalendarViewEvent *event
}
if (event_atk_obj) {
#ifdef ACC_DEBUG
- printf ("AccDebug: event=%p changed\n", (void *)event);
+ printf ("AccDebug: event=%p changed\n", (gpointer)event);
#endif
g_object_notify (G_OBJECT(event_atk_obj), "accessible-name");
g_signal_emit_by_name (event_atk_obj, "visible_data_changed");
@@ -254,7 +254,7 @@ ea_cal_view_event_added_cb (ECalendarView *cal_view, ECalendarViewEvent *event,
if (index < 0)
return;
#ifdef ACC_DEBUG
- printf ("AccDebug: event=%p added\n", (void *)event);
+ printf ("AccDebug: event=%p added\n", (gpointer)event);
#endif
g_signal_emit_by_name (atk_obj, "children_changed::add",
index, event_atk_obj, NULL);
@@ -295,7 +295,7 @@ ea_cal_view_dates_change_cb (GnomeCalendar *gcal, gpointer data)
#define CAL_VIEW_ACTION_NUM 5
-static const char * action_name [CAL_VIEW_ACTION_NUM] = {
+static const gchar * action_name [CAL_VIEW_ACTION_NUM] = {
N_("New Appointment"),
N_("New All Day Event"),
N_("New Meeting"),
@@ -374,13 +374,13 @@ action_interface_get_n_actions (AtkAction *action)
return CAL_VIEW_ACTION_NUM;
}
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
action_interface_get_description(AtkAction *action, gint index)
{
return action_interface_action_get_name (action, index);
}
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
action_interface_get_keybinding (AtkAction *action, gint index)
{
GtkWidget *widget;
@@ -417,7 +417,7 @@ action_interface_get_keybinding (AtkAction *action, gint index)
return NULL;
}
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
action_interface_action_get_name(AtkAction *action, gint i)
{
if (i >= 0 && i < CAL_VIEW_ACTION_NUM)
diff --git a/a11y/calendar/ea-calendar.c b/a11y/calendar/ea-calendar.c
index 26e73da6da..fb8d523275 100644
--- a/a11y/calendar/ea-calendar.c
+++ b/a11y/calendar/ea-calendar.c
@@ -172,7 +172,7 @@ ea_calendar_focus_watcher (GSignalInvocationHint *ihint,
/* focus out */
ea_event = NULL;
#ifdef ACC_DEBUG
- printf ("EvoAcc: focus notify on day main item %p\n", (void *)object);
+ printf ("EvoAcc: focus notify on day main item %p\n", (gpointer)object);
#endif
atk_focus_tracker_notify (ea_event);
}
@@ -195,7 +195,7 @@ ea_calendar_focus_watcher (GSignalInvocationHint *ihint,
/* focus out */
ea_event = NULL;
#ifdef ACC_DEBUG
- printf ("EvoAcc: focus notify on week main item %p\n", (void *)object);
+ printf ("EvoAcc: focus notify on week main item %p\n", (gpointer)object);
#endif
atk_focus_tracker_notify (ea_event);
}
diff --git a/a11y/calendar/ea-day-view-cell.c b/a11y/calendar/ea-day-view-cell.c
index bc303f380f..bbc92a192f 100644
--- a/a11y/calendar/ea-day-view-cell.c
+++ b/a11y/calendar/ea-day-view-cell.c
@@ -79,7 +79,7 @@ e_day_view_cell_new (EDayView *day_view, gint row, gint column)
cell->column = column;
#ifdef ACC_DEBUG
- printf ("EvoAcc: e_day_view_cell created %p\n", (void *)cell);
+ printf ("EvoAcc: e_day_view_cell created %p\n", (gpointer)cell);
#endif
return cell;
@@ -89,8 +89,8 @@ e_day_view_cell_new (EDayView *day_view, gint row, gint column)
static void ea_day_view_cell_class_init (EaDayViewCellClass *klass);
-static G_CONST_RETURN gchar* ea_day_view_cell_get_name (AtkObject *accessible);
-static G_CONST_RETURN gchar* ea_day_view_cell_get_description (AtkObject *accessible);
+static G_CONST_RETURN gchar * ea_day_view_cell_get_name (AtkObject *accessible);
+static G_CONST_RETURN gchar * ea_day_view_cell_get_description (AtkObject *accessible);
static AtkStateSet* ea_day_view_cell_ref_state_set (AtkObject *obj);
static AtkObject * ea_day_view_cell_get_parent (AtkObject *accessible);
static gint ea_day_view_cell_get_index_in_parent (AtkObject *accessible);
@@ -196,7 +196,7 @@ static void ea_day_view_cell_finalize (GObject *object)
}
#endif
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
ea_day_view_cell_get_name (AtkObject *accessible)
{
AtkGObjectAccessible *atk_gobj;
@@ -230,7 +230,7 @@ ea_day_view_cell_get_name (AtkObject *accessible)
return accessible->name;
}
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
ea_day_view_cell_get_description (AtkObject *accessible)
{
return ea_day_view_cell_get_name (accessible);
diff --git a/a11y/calendar/ea-day-view-main-item.c b/a11y/calendar/ea-day-view-main-item.c
index 783710dc61..c1176b4417 100644
--- a/a11y/calendar/ea-day-view-main-item.c
+++ b/a11y/calendar/ea-day-view-main-item.c
@@ -32,8 +32,8 @@
static void ea_day_view_main_item_class_init (EaDayViewMainItemClass *klass);
static void ea_day_view_main_item_finalize (GObject *object);
-static G_CONST_RETURN gchar* ea_day_view_main_item_get_name (AtkObject *accessible);
-static G_CONST_RETURN gchar* ea_day_view_main_item_get_description (AtkObject *accessible);
+static G_CONST_RETURN gchar * ea_day_view_main_item_get_name (AtkObject *accessible);
+static G_CONST_RETURN gchar * ea_day_view_main_item_get_description (AtkObject *accessible);
static gint ea_day_view_main_item_get_n_children (AtkObject *obj);
static AtkObject* ea_day_view_main_item_ref_child (AtkObject *obj,
@@ -95,10 +95,10 @@ static AtkObject* table_interface_get_column_header (AtkTable *table,
gint in_col);
static AtkObject* table_interface_get_caption (AtkTable *table);
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
table_interface_get_column_description (AtkTable *table, gint in_col);
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
table_interface_get_row_description (AtkTable *table, gint row);
static AtkObject* table_interface_get_summary (AtkTable *table);
@@ -282,7 +282,7 @@ ea_day_view_main_item_finalize (GObject *object)
#endif
}
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
ea_day_view_main_item_get_name (AtkObject *accessible)
{
AtkObject *parent;
@@ -295,7 +295,7 @@ ea_day_view_main_item_get_name (AtkObject *accessible)
return atk_object_get_name (parent);
}
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
ea_day_view_main_item_get_description (AtkObject *accessible)
{
return _("a table to view and select the current time range");
@@ -1045,7 +1045,7 @@ table_interface_get_caption (AtkTable *table)
return NULL;
}
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
table_interface_get_column_description (AtkTable *table,
gint in_col)
{
@@ -1081,7 +1081,7 @@ table_interface_get_column_description (AtkTable *table,
return description;
}
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
table_interface_get_row_description (AtkTable *table,
gint row)
{
diff --git a/a11y/calendar/ea-day-view.c b/a11y/calendar/ea-day-view.c
index 107f983bb0..9eb3e343f3 100644
--- a/a11y/calendar/ea-day-view.c
+++ b/a11y/calendar/ea-day-view.c
@@ -31,8 +31,8 @@
static void ea_day_view_class_init (EaDayViewClass *klass);
-static G_CONST_RETURN gchar* ea_day_view_get_name (AtkObject *accessible);
-static G_CONST_RETURN gchar* ea_day_view_get_description (AtkObject *accessible);
+static G_CONST_RETURN gchar * ea_day_view_get_name (AtkObject *accessible);
+static G_CONST_RETURN gchar * ea_day_view_get_description (AtkObject *accessible);
static gint ea_day_view_get_n_children (AtkObject *obj);
static AtkObject* ea_day_view_ref_child (AtkObject *obj,
gint i);
@@ -111,13 +111,13 @@ ea_day_view_new (GtkWidget *widget)
atk_object_initialize (accessible, widget);
#ifdef ACC_DEBUG
- printf ("EvoAcc: ea_day_view created %p\n", (void *)accessible);
+ printf ("EvoAcc: ea_day_view created %p\n", (gpointer)accessible);
#endif
return accessible;
}
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
ea_day_view_get_name (AtkObject *accessible)
{
EDayView *day_view;
@@ -172,7 +172,7 @@ ea_day_view_get_name (AtkObject *accessible)
return accessible->name;
}
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
ea_day_view_get_description (AtkObject *accessible)
{
EDayView *day_view;
diff --git a/a11y/calendar/ea-gnome-calendar.c b/a11y/calendar/ea-gnome-calendar.c
index 4d6e752b8e..e5d9654c1a 100644
--- a/a11y/calendar/ea-gnome-calendar.c
+++ b/a11y/calendar/ea-gnome-calendar.c
@@ -31,8 +31,8 @@
static void ea_gnome_calendar_class_init (EaGnomeCalendarClass *klass);
-static G_CONST_RETURN gchar* ea_gnome_calendar_get_name (AtkObject *accessible);
-static G_CONST_RETURN gchar* ea_gnome_calendar_get_description (AtkObject *accessible);
+static G_CONST_RETURN gchar * ea_gnome_calendar_get_name (AtkObject *accessible);
+static G_CONST_RETURN gchar * ea_gnome_calendar_get_description (AtkObject *accessible);
static gint ea_gnome_calendar_get_n_children (AtkObject* obj);
static AtkObject * ea_gnome_calendar_ref_child (AtkObject *obj, gint i);
@@ -130,7 +130,7 @@ ea_gnome_calendar_new (GtkWidget *widget)
}
#ifdef ACC_DEBUG
- printf ("EvoAcc: ea-gnome-calendar created: %p\n", (void *)accessible);
+ printf ("EvoAcc: ea-gnome-calendar created: %p\n", (gpointer)accessible);
#endif
return accessible;
@@ -143,8 +143,8 @@ ea_gnome_calendar_get_label_description (GnomeCalendar *gcal)
struct icaltimetype start_tt, end_tt;
time_t start_time, end_time;
struct tm start_tm, end_tm;
- static char buffer[512];
- char end_buffer[256];
+ static gchar buffer[512];
+ gchar end_buffer[256];
GnomeCalendarViewType view;
gnome_calendar_get_visible_time_range (gcal, &start_time, &end_time);
@@ -237,7 +237,7 @@ ea_gnome_calendar_get_label_description (GnomeCalendar *gcal)
return buffer;
}
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
ea_gnome_calendar_get_name (AtkObject *accessible)
{
if (accessible->name)
@@ -245,7 +245,7 @@ ea_gnome_calendar_get_name (AtkObject *accessible)
return _("Gnome Calendar");
}
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
ea_gnome_calendar_get_description (AtkObject *accessible)
{
if (accessible->description)
@@ -328,7 +328,7 @@ ea_gcal_switch_view_cb (GtkNotebook *widget, GtkNotebookPage *page,
#ifdef ACC_DEBUG
printf ("AccDebug: view switch to widget %p (index=%d) \n",
- (void *)new_widget, index);
+ (gpointer)new_widget, index);
#endif
}
diff --git a/a11y/calendar/ea-jump-button.c b/a11y/calendar/ea-jump-button.c
index 7888196b8d..eb24bea42c 100644
--- a/a11y/calendar/ea-jump-button.c
+++ b/a11y/calendar/ea-jump-button.c
@@ -30,15 +30,15 @@
static void ea_jump_button_class_init (EaJumpButtonClass *klass);
-static G_CONST_RETURN gchar* ea_jump_button_get_name (AtkObject *accessible);
-static G_CONST_RETURN gchar* ea_jump_button_get_description (AtkObject *accessible);
+static G_CONST_RETURN gchar * ea_jump_button_get_name (AtkObject *accessible);
+static G_CONST_RETURN gchar * ea_jump_button_get_description (AtkObject *accessible);
/* action interface */
static void atk_action_interface_init (AtkActionIface *iface);
static gboolean jump_button_do_action (AtkAction *action,
gint i);
static gint jump_button_get_n_actions (AtkAction *action);
-static G_CONST_RETURN gchar* jump_button_get_keybinding (AtkAction *action,
+static G_CONST_RETURN gchar * jump_button_get_keybinding (AtkAction *action,
gint i);
static gpointer parent_class = NULL;
@@ -137,7 +137,7 @@ ea_jump_button_new (GObject *obj)
return atk_obj;
}
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
ea_jump_button_get_name (AtkObject *accessible)
{
g_return_val_if_fail (EA_IS_JUMP_BUTTON (accessible), NULL);
@@ -147,7 +147,7 @@ ea_jump_button_get_name (AtkObject *accessible)
return _("Jump button");
}
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
ea_jump_button_get_description (AtkObject *accessible)
{
if (accessible->description)
@@ -204,7 +204,7 @@ jump_button_get_n_actions (AtkAction *action)
return 1;
}
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
jump_button_get_keybinding (AtkAction *action,
gint i)
{
diff --git a/a11y/calendar/ea-week-view-cell.c b/a11y/calendar/ea-week-view-cell.c
index 4c7a591121..f3f7183c55 100644
--- a/a11y/calendar/ea-week-view-cell.c
+++ b/a11y/calendar/ea-week-view-cell.c
@@ -79,7 +79,7 @@ e_week_view_cell_new (EWeekView *week_view, gint row, gint column)
cell->column = column;
#ifdef ACC_DEBUG
- printf ("EvoAcc: e_week_view_cell created %p\n", (void *)cell);
+ printf ("EvoAcc: e_week_view_cell created %p\n", (gpointer)cell);
#endif
return cell;
@@ -89,8 +89,8 @@ e_week_view_cell_new (EWeekView *week_view, gint row, gint column)
static void ea_week_view_cell_class_init (EaWeekViewCellClass *klass);
-static G_CONST_RETURN gchar* ea_week_view_cell_get_name (AtkObject *accessible);
-static G_CONST_RETURN gchar* ea_week_view_cell_get_description (AtkObject *accessible);
+static G_CONST_RETURN gchar * ea_week_view_cell_get_name (AtkObject *accessible);
+static G_CONST_RETURN gchar * ea_week_view_cell_get_description (AtkObject *accessible);
static AtkStateSet* ea_week_view_cell_ref_state_set (AtkObject *obj);
static AtkObject * ea_week_view_cell_get_parent (AtkObject *accessible);
static gint ea_week_view_cell_get_index_in_parent (AtkObject *accessible);
@@ -196,7 +196,7 @@ static void ea_week_view_cell_finalize (GObject *object)
}
#endif
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
ea_week_view_cell_get_name (AtkObject *accessible)
{
AtkGObjectAccessible *atk_gobj;
@@ -242,7 +242,7 @@ ea_week_view_cell_get_name (AtkObject *accessible)
return accessible->name;
}
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
ea_week_view_cell_get_description (AtkObject *accessible)
{
return ea_week_view_cell_get_name (accessible);
diff --git a/a11y/calendar/ea-week-view-main-item.c b/a11y/calendar/ea-week-view-main-item.c
index ae507df235..3ba4508ba3 100644
--- a/a11y/calendar/ea-week-view-main-item.c
+++ b/a11y/calendar/ea-week-view-main-item.c
@@ -31,8 +31,8 @@
static void ea_week_view_main_item_class_init (EaWeekViewMainItemClass *klass);
static void ea_week_view_main_item_finalize (GObject *object);
-static G_CONST_RETURN gchar* ea_week_view_main_item_get_name (AtkObject *accessible);
-static G_CONST_RETURN gchar* ea_week_view_main_item_get_description (AtkObject *accessible);
+static G_CONST_RETURN gchar * ea_week_view_main_item_get_name (AtkObject *accessible);
+static G_CONST_RETURN gchar * ea_week_view_main_item_get_description (AtkObject *accessible);
static gint ea_week_view_main_item_get_n_children (AtkObject *obj);
static AtkObject* ea_week_view_main_item_ref_child (AtkObject *obj,
@@ -95,10 +95,10 @@ static AtkObject* table_interface_get_column_header (AtkTable *table,
gint in_col);
static AtkObject* table_interface_get_caption (AtkTable *table);
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
table_interface_get_column_description (AtkTable *table, gint in_col);
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
table_interface_get_row_description (AtkTable *table, gint row);
static AtkObject* table_interface_get_summary (AtkTable *table);
@@ -282,7 +282,7 @@ ea_week_view_main_item_finalize (GObject *object)
#endif
}
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
ea_week_view_main_item_get_name (AtkObject *accessible)
{
AtkObject *parent;
@@ -292,7 +292,7 @@ ea_week_view_main_item_get_name (AtkObject *accessible)
}
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
ea_week_view_main_item_get_description (AtkObject *accessible)
{
return _("a table to view and select the current time range");
@@ -1008,7 +1008,7 @@ table_interface_get_caption (AtkTable *table)
return NULL;
}
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
table_interface_get_column_description (AtkTable *table,
gint in_col)
{
@@ -1065,7 +1065,7 @@ table_interface_get_column_description (AtkTable *table,
return description;
}
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
table_interface_get_row_description (AtkTable *table,
gint row)
{
diff --git a/a11y/calendar/ea-week-view.c b/a11y/calendar/ea-week-view.c
index 1d88e40c46..734f09239a 100644
--- a/a11y/calendar/ea-week-view.c
+++ b/a11y/calendar/ea-week-view.c
@@ -30,8 +30,8 @@
static void ea_week_view_class_init (EaWeekViewClass *klass);
-static G_CONST_RETURN gchar* ea_week_view_get_name (AtkObject *accessible);
-static G_CONST_RETURN gchar* ea_week_view_get_description (AtkObject *accessible);
+static G_CONST_RETURN gchar * ea_week_view_get_name (AtkObject *accessible);
+static G_CONST_RETURN gchar * ea_week_view_get_description (AtkObject *accessible);
static gint ea_week_view_get_n_children (AtkObject *obj);
static AtkObject* ea_week_view_ref_child (AtkObject *obj,
gint i);
@@ -112,13 +112,13 @@ ea_week_view_new (GtkWidget *widget)
atk_object_initialize (accessible, widget);
#ifdef ACC_DEBUG
- printf ("EvoAcc: ea_week_view created %p\n", (void *)accessible);
+ printf ("EvoAcc: ea_week_view created %p\n", (gpointer)accessible);
#endif
return accessible;
}
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
ea_week_view_get_name (AtkObject *accessible)
{
EWeekView *week_view;
@@ -165,7 +165,7 @@ ea_week_view_get_name (AtkObject *accessible)
return accessible->name;
}
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
ea_week_view_get_description (AtkObject *accessible)
{
EWeekView *week_view;
@@ -239,7 +239,7 @@ ea_week_view_get_n_children (AtkObject *accessible)
count++;
#ifdef ACC_DEBUG
- printf("AccDebug: week view %p has %d children\n", (void *)week_view, count);
+ printf("AccDebug: week view %p has %d children\n", (gpointer)week_view, count);
#endif
return count;
}
@@ -315,7 +315,7 @@ ea_week_view_ref_child (AtkObject *accessible, gint index)
#ifdef ACC_DEBUG
printf ("EvoAcc: ea_week_view_ref_child [%d]=%p\n",
- index, (void *)atk_object);
+ index, (gpointer)atk_object);
#endif
return atk_object;
}
diff --git a/a11y/e-table/gal-a11y-e-cell-popup.c b/a11y/e-table/gal-a11y-e-cell-popup.c
index 5ae3cef686..f76b2431b0 100644
--- a/a11y/e-table/gal-a11y-e-cell-popup.c
+++ b/a11y/e-table/gal-a11y-e-cell-popup.c
@@ -83,9 +83,9 @@ AtkObject *
gal_a11y_e_cell_popup_new (ETableItem *item,
ECellView *cell_view,
AtkObject *parent,
- int model_col,
- int view_col,
- int row)
+ gint model_col,
+ gint view_col,
+ gint row)
{
AtkObject *a11y;
GalA11yECell *cell;
diff --git a/a11y/e-table/gal-a11y-e-cell-popup.h b/a11y/e-table/gal-a11y-e-cell-popup.h
index 4bee17e8ce..7fef5cf18d 100644
--- a/a11y/e-table/gal-a11y-e-cell-popup.h
+++ b/a11y/e-table/gal-a11y-e-cell-popup.h
@@ -55,8 +55,8 @@ GType gal_a11y_e_cell_popup_get_type (void);
AtkObject *gal_a11y_e_cell_popup_new (ETableItem *item,
ECellView *cell_view,
AtkObject *parent,
- int model_col,
- int view_col,
- int row);
+ gint model_col,
+ gint view_col,
+ gint row);
#endif /* ! __GAL_A11Y_E_CELL_POPUP_H__ */
diff --git a/a11y/e-table/gal-a11y-e-cell-registry.c b/a11y/e-table/gal-a11y-e-cell-registry.c
index 1da241fea9..9dc9598608 100644
--- a/a11y/e-table/gal-a11y-e-cell-registry.c
+++ b/a11y/e-table/gal-a11y-e-cell-registry.c
@@ -111,9 +111,9 @@ gal_a11y_e_cell_registry_get_object (GalA11yECellRegistry *registry,
ETableItem *item,
ECellView *cell_view,
AtkObject *parent,
- int model_col,
- int view_col,
- int row)
+ gint model_col,
+ gint view_col,
+ gint row)
{
GalA11yECellRegistryFunc func = NULL;
GType type;
diff --git a/a11y/e-table/gal-a11y-e-cell-registry.h b/a11y/e-table/gal-a11y-e-cell-registry.h
index bc43a662cc..0620fd1b9c 100644
--- a/a11y/e-table/gal-a11y-e-cell-registry.h
+++ b/a11y/e-table/gal-a11y-e-cell-registry.h
@@ -41,9 +41,9 @@ typedef struct _GalA11yECellRegistryPrivate GalA11yECellRegistryPrivate;
typedef AtkObject *(*GalA11yECellRegistryFunc) (ETableItem *item,
ECellView *cell_view,
AtkObject *parent,
- int model_col,
- int view_col,
- int row);
+ gint model_col,
+ gint view_col,
+ gint row);
struct _GalA11yECellRegistry {
GObject object;
@@ -62,9 +62,9 @@ AtkObject *gal_a11y_e_cell_registry_get_object (GalA11yECellRegistry *re
ETableItem *item,
ECellView *cell_view,
AtkObject *parent,
- int model_col,
- int view_col,
- int row);
+ gint model_col,
+ gint view_col,
+ gint row);
void gal_a11y_e_cell_registry_add_cell_type (GalA11yECellRegistry *registry,
GType type,
GalA11yECellRegistryFunc func);
diff --git a/a11y/e-table/gal-a11y-e-cell-text.c b/a11y/e-table/gal-a11y-e-cell-text.c
index a2b9f715f8..77823b0a7c 100644
--- a/a11y/e-table/gal-a11y-e-cell-text.c
+++ b/a11y/e-table/gal-a11y-e-cell-text.c
@@ -86,11 +86,11 @@ ect_check (gpointer a11y)
return TRUE;
}
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
ect_get_name (AtkObject * a11y)
{
GalA11yECell *gaec;
- char *name;
+ gchar *name;
if (!ect_check (a11y))
return NULL;
@@ -180,7 +180,7 @@ ect_get_character_at_offset (AtkText *text,
}
-static gchar*
+static gchar *
ect_get_text_before_offset (AtkText *text,
gint offset,
AtkTextBoundary boundary_type,
@@ -294,7 +294,7 @@ ect_get_n_selections (AtkText *text)
}
-static gchar*
+static gchar *
ect_get_selection (AtkText *text,
gint selection_num,
gint *start_offset,
@@ -543,7 +543,7 @@ ect_do_action_edit (AtkAction *action)
/* text signal handlers */
static void
-ect_text_inserted_cb (ECellText *text, ECellView *cell_view, int pos, int len, int row, int model_col, gpointer data)
+ect_text_inserted_cb (ECellText *text, ECellView *cell_view, gint pos, gint len, gint row, gint model_col, gpointer data)
{
GalA11yECellText *gaet;
GalA11yECell *gaec;
@@ -560,7 +560,7 @@ ect_text_inserted_cb (ECellText *text, ECellView *cell_view, int pos, int len, i
}
static void
-ect_text_deleted_cb (ECellText *text, ECellView *cell_view, int pos, int len, int row, int model_col, gpointer data)
+ect_text_deleted_cb (ECellText *text, ECellView *cell_view, gint pos, gint len, gint row, gint model_col, gpointer data)
{
GalA11yECellText *gaet;
GalA11yECell *gaec;
@@ -692,9 +692,9 @@ AtkObject *
gal_a11y_e_cell_text_new (ETableItem *item,
ECellView *cell_view,
AtkObject *parent,
- int model_col,
- int view_col,
- int row)
+ gint model_col,
+ gint view_col,
+ gint row)
{
AtkObject *a11y;
GalA11yECell *gaec;
diff --git a/a11y/e-table/gal-a11y-e-cell-text.h b/a11y/e-table/gal-a11y-e-cell-text.h
index fe404169a1..2e469d76f6 100644
--- a/a11y/e-table/gal-a11y-e-cell-text.h
+++ b/a11y/e-table/gal-a11y-e-cell-text.h
@@ -57,8 +57,8 @@ GType gal_a11y_e_cell_text_get_type (void);
AtkObject *gal_a11y_e_cell_text_new (ETableItem *item,
ECellView *cell_view,
AtkObject *parent,
- int model_col,
- int view_col,
- int row);
+ gint model_col,
+ gint view_col,
+ gint row);
#endif /* ! __GAL_A11Y_E_CELL_TEXT_H__ */
diff --git a/a11y/e-table/gal-a11y-e-cell-toggle.c b/a11y/e-table/gal-a11y-e-cell-toggle.c
index c0425a0cbb..1101bac7ee 100644
--- a/a11y/e-table/gal-a11y-e-cell-toggle.c
+++ b/a11y/e-table/gal-a11y-e-cell-toggle.c
@@ -143,9 +143,9 @@ AtkObject*
gal_a11y_e_cell_toggle_new (ETableItem *item,
ECellView *cell_view,
AtkObject *parent,
- int model_col,
- int view_col,
- int row)
+ gint model_col,
+ gint view_col,
+ gint row)
{
AtkObject *a11y;
GalA11yECell *cell;
diff --git a/a11y/e-table/gal-a11y-e-cell-toggle.h b/a11y/e-table/gal-a11y-e-cell-toggle.h
index 769e0b4200..1f41ae1623 100644
--- a/a11y/e-table/gal-a11y-e-cell-toggle.h
+++ b/a11y/e-table/gal-a11y-e-cell-toggle.h
@@ -56,9 +56,9 @@ struct _GalA11yECellToggleClass
AtkObject *gal_a11y_e_cell_toggle_new (ETableItem *item,
ECellView *cell_view,
AtkObject *parent,
- int model_col,
- int view_col,
- int row);
+ gint model_col,
+ gint view_col,
+ gint row);
#ifdef __cplusplus
}
diff --git a/a11y/e-table/gal-a11y-e-cell-tree.c b/a11y/e-table/gal-a11y-e-cell-tree.c
index 0a5f8e2019..aaf490c726 100644
--- a/a11y/e-table/gal-a11y-e-cell-tree.c
+++ b/a11y/e-table/gal-a11y-e-cell-tree.c
@@ -184,9 +184,9 @@ AtkObject *
gal_a11y_e_cell_tree_new (ETableItem *item,
ECellView *cell_view,
AtkObject *parent,
- int model_col,
- int view_col,
- int row)
+ gint model_col,
+ gint view_col,
+ gint row)
{
AtkObject *subcell_a11y;
GalA11yECellTree *a11y;
diff --git a/a11y/e-table/gal-a11y-e-cell-tree.h b/a11y/e-table/gal-a11y-e-cell-tree.h
index 43169c2f28..497590b351 100644
--- a/a11y/e-table/gal-a11y-e-cell-tree.h
+++ b/a11y/e-table/gal-a11y-e-cell-tree.h
@@ -44,7 +44,7 @@ typedef struct _GalA11yECellTreePrivate GalA11yECellTreePrivate;
struct _GalA11yECellTree {
GalA11yECell object;
- int model_row_changed_id;
+ gint model_row_changed_id;
};
struct _GalA11yECellTreeClass {
@@ -57,8 +57,8 @@ GType gal_a11y_e_cell_tree_get_type (void);
AtkObject *gal_a11y_e_cell_tree_new (ETableItem *item,
ECellView *cell_view,
AtkObject *parent,
- int model_col,
- int view_col,
- int row);
+ gint model_col,
+ gint view_col,
+ gint row);
#endif /* ! __GAL_A11Y_E_CELL_TREE_H__ */
diff --git a/a11y/e-table/gal-a11y-e-cell-vbox.c b/a11y/e-table/gal-a11y-e-cell-vbox.c
index 7a5eadba52..b3f92a695a 100644
--- a/a11y/e-table/gal-a11y-e-cell-vbox.c
+++ b/a11y/e-table/gal-a11y-e-cell-vbox.c
@@ -120,7 +120,7 @@ ecv_ref_accessible_at_point (AtkComponent *component,
AtkCoordType coord_type)
{
gint x0, y0, width, height;
- int subcell_height, i;
+ gint subcell_height, i;
GalA11yECell *gaec = GAL_A11Y_E_CELL (component);
ECellVboxView *ecvv = (ECellVboxView *) (gaec->cell_view);
@@ -203,9 +203,9 @@ gal_a11y_e_cell_vbox_get_type (void)
AtkObject *gal_a11y_e_cell_vbox_new (ETableItem *item,
ECellView *cell_view,
AtkObject *parent,
- int model_col,
- int view_col,
- int row)
+ gint model_col,
+ gint view_col,
+ gint row)
{
AtkObject *a11y;
GalA11yECell *gaec;
diff --git a/a11y/e-table/gal-a11y-e-cell-vbox.h b/a11y/e-table/gal-a11y-e-cell-vbox.h
index 2055ac3195..cf6375a2be 100644
--- a/a11y/e-table/gal-a11y-e-cell-vbox.h
+++ b/a11y/e-table/gal-a11y-e-cell-vbox.h
@@ -44,7 +44,7 @@ typedef struct _GalA11yECellVboxClass GalA11yECellVboxClass;
struct _GalA11yECellVbox
{
GalA11yECell object;
- int a11y_subcell_count;
+ gint a11y_subcell_count;
gpointer *a11y_subcells;
};
@@ -57,9 +57,9 @@ GType gal_a11y_e_cell_vbox_get_type (void);
AtkObject *gal_a11y_e_cell_vbox_new (ETableItem *item,
ECellView *cell_view,
AtkObject *parent,
- int model_col,
- int view_col,
- int row);
+ gint model_col,
+ gint view_col,
+ gint row);
#ifdef __cplusplus
}
diff --git a/a11y/e-table/gal-a11y-e-cell.c b/a11y/e-table/gal-a11y-e-cell.c
index 3b74675ae5..a316500af7 100644
--- a/a11y/e-table/gal-a11y-e-cell.c
+++ b/a11y/e-table/gal-a11y-e-cell.c
@@ -103,7 +103,7 @@ gal_a11y_e_cell_dispose (GObject *object)
}
/* Static functions */
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
gal_a11y_e_cell_get_name (AtkObject * a11y)
{
GalA11yECell *cell = GAL_A11Y_E_CELL (a11y);
@@ -163,10 +163,10 @@ gal_a11y_e_cell_get_extents (AtkComponent *component,
{
GalA11yECell *a11y = GAL_A11Y_E_CELL (component);
GtkWidget *tableOrTree;
- int row;
- int col;
- int xval;
- int yval;
+ gint row;
+ gint col;
+ gint xval;
+ gint yval;
row = a11y->row;
col = a11y->view_col;
@@ -593,9 +593,9 @@ AtkObject *
gal_a11y_e_cell_new (ETableItem *item,
ECellView *cell_view,
AtkObject *parent,
- int model_col,
- int view_col,
- int row)
+ gint model_col,
+ gint view_col,
+ gint row)
{
AtkObject *a11y;
@@ -616,9 +616,9 @@ gal_a11y_e_cell_construct (AtkObject *object,
ETableItem *item,
ECellView *cell_view,
AtkObject *parent,
- int model_col,
- int view_col,
- int row)
+ gint model_col,
+ gint view_col,
+ gint row)
{
GalA11yECell *a11y = GAL_A11Y_E_CELL (object);
a11y->item = item;
diff --git a/a11y/e-table/gal-a11y-e-cell.h b/a11y/e-table/gal-a11y-e-cell.h
index af96c69d47..3ec3070a9b 100644
--- a/a11y/e-table/gal-a11y-e-cell.h
+++ b/a11y/e-table/gal-a11y-e-cell.h
@@ -49,9 +49,9 @@ struct _GalA11yECell {
ETableItem *item;
ECellView *cell_view;
AtkObject *parent;
- int model_col;
- int view_col;
- int row;
+ gint model_col;
+ gint view_col;
+ gint row;
AtkStateSet *state_set;
GList *action_list;
gint action_idle_handler;
@@ -76,16 +76,16 @@ GType gal_a11y_e_cell_get_type (void);
AtkObject *gal_a11y_e_cell_new (ETableItem *item,
ECellView *cell_view,
AtkObject *parent,
- int model_col,
- int view_col,
- int row);
+ gint model_col,
+ gint view_col,
+ gint row);
void gal_a11y_e_cell_construct (AtkObject *object,
ETableItem *item,
ECellView *cell_view,
AtkObject *parent,
- int model_col,
- int view_col,
- int row);
+ gint model_col,
+ gint view_col,
+ gint row);
void gal_a11y_e_cell_type_add_action_interface (GType type);
diff --git a/a11y/e-table/gal-a11y-e-table-click-to-add.c b/a11y/e-table/gal-a11y-e-table-click-to-add.c
index ed417e1601..e36fe51a00 100644
--- a/a11y/e-table/gal-a11y-e-table-click-to-add.c
+++ b/a11y/e-table/gal-a11y-e-table-click-to-add.c
@@ -36,7 +36,7 @@
static AtkObjectClass *parent_class;
static GType parent_type;
static gint priv_offset;
-#define GET_PRIVATE(object) ((GalA11yETableClickToAddPrivate *) (((char *) object) + priv_offset))
+#define GET_PRIVATE(object) ((GalA11yETableClickToAddPrivate *) (((gchar *) object) + priv_offset))
#define PARENT_TYPE (parent_type)
struct _GalA11yETableClickToAddPrivate {
@@ -51,7 +51,7 @@ etcta_get_n_actions (AtkAction *action)
return 1;
}
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
etcta_get_description (AtkAction *action,
gint i)
{
@@ -61,7 +61,7 @@ etcta_get_description (AtkAction *action,
return NULL;
}
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
etcta_action_get_name (AtkAction *action, gint i)
{
if (i == 0)
diff --git a/a11y/e-table/gal-a11y-e-table-column-header.c b/a11y/e-table/gal-a11y-e-table-column-header.c
index 4df75cc564..41e6ab0fca 100644
--- a/a11y/e-table/gal-a11y-e-table-column-header.c
+++ b/a11y/e-table/gal-a11y-e-table-column-header.c
@@ -32,7 +32,7 @@
static GObjectClass *parent_class;
static gint priv_offset;
-#define GET_PRIVATE(object) ((GalA11yETableColumnHeaderPrivate *) (((char *) object) + priv_offset))
+#define GET_PRIVATE(object) ((GalA11yETableColumnHeaderPrivate *) (((gchar *) object) + priv_offset))
#define PARENT_TYPE (atk_gobject_accessible_get_type ())
struct _GalA11yETableColumnHeaderPrivate {
@@ -141,7 +141,7 @@ gal_a11y_e_table_column_header_get_n_actions (AtkAction *action)
return 1;
}
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
gal_a11y_e_table_column_header_action_get_name (AtkAction *action,
gint i)
{
diff --git a/a11y/e-table/gal-a11y-e-table-item.c b/a11y/e-table/gal-a11y-e-table-item.c
index 935f53b83b..912d055964 100644
--- a/a11y/e-table/gal-a11y-e-table-item.c
+++ b/a11y/e-table/gal-a11y-e-table-item.c
@@ -48,14 +48,14 @@ static AtkComponentIface *component_parent_iface;
static GType parent_type;
static gint priv_offset;
static GQuark quark_accessible_object = 0;
-#define GET_PRIVATE(object) ((GalA11yETableItemPrivate *) (((char *) object) + priv_offset))
+#define GET_PRIVATE(object) ((GalA11yETableItemPrivate *) (((gchar *) object) + priv_offset))
#define PARENT_TYPE (parent_type)
struct _GalA11yETableItemPrivate {
gint cols;
gint rows;
- int selection_change_id;
- int cursor_change_id;
+ gint selection_change_id;
+ gint cursor_change_id;
ETableCol ** columns;
ESelectionModel *selection;
AtkStateSet *state_set;
@@ -93,7 +93,7 @@ eti_ref_state_set (AtkObject *accessible)
}
inline static gint
-view_to_model_row(ETableItem *eti, int row)
+view_to_model_row(ETableItem *eti, gint row)
{
if (eti->uses_source_model) {
ETableSubset *etss = E_TABLE_SUBSET(eti->table_model);
@@ -107,16 +107,16 @@ view_to_model_row(ETableItem *eti, int row)
}
inline static gint
-view_to_model_col(ETableItem *eti, int col)
+view_to_model_col(ETableItem *eti, gint col)
{
ETableCol *ecol = e_table_header_get_column (eti->header, col);
return ecol ? ecol->col_idx : -1;
}
inline static gint
-model_to_view_row(ETableItem *eti, int row)
+model_to_view_row(ETableItem *eti, gint row)
{
- int i;
+ gint i;
if (row == -1)
return -1;
if (eti->uses_source_model) {
@@ -136,9 +136,9 @@ model_to_view_row(ETableItem *eti, int row)
}
inline static gint
-model_to_view_col(ETableItem *eti, int col)
+model_to_view_col(ETableItem *eti, gint col)
{
- int i;
+ gint i;
if (col == -1)
return -1;
for (i = 0; i < eti->cols; i++) {
@@ -159,7 +159,7 @@ static void
eti_a11y_reset_focus_object (GalA11yETableItem *a11y, ETableItem *item, gboolean notify)
{
ESelectionModel * esm;
- int cursor_row, cursor_col, view_row, view_col;
+ gint cursor_row, cursor_col, view_row, view_col;
AtkObject *cell, *old_cell;
esm = item->selection;
@@ -284,9 +284,9 @@ eti_ref_accessible_at_point (AtkComponent *component,
gint y,
AtkCoordType coord_type)
{
- int row = -1;
- int col = -1;
- int x_origin, y_origin;
+ gint row = -1;
+ gint col = -1;
+ gint x_origin, y_origin;
ETableItem *item;
GtkWidget *tableOrTree;
@@ -446,7 +446,7 @@ eti_get_column_extent_at (AtkTable *table,
gint column)
{
ETableItem *item;
- int width;
+ gint width;
item = E_TABLE_ITEM (eti_a11y_get_gobject (ATK_OBJECT (table)));
if (!item)
@@ -469,7 +469,7 @@ eti_get_row_extent_at (AtkTable *table,
gint column)
{
ETableItem *item;
- int height;
+ gint height;
item = E_TABLE_ITEM (eti_a11y_get_gobject (ATK_OBJECT (table)));
if (!item)
@@ -676,7 +676,7 @@ eti_atk_component_iface_init (AtkComponentIface *iface)
}
static void
-eti_rows_inserted (ETableModel * model, int row, int count,
+eti_rows_inserted (ETableModel * model, gint row, gint count,
AtkObject * table_item)
{
gint n_cols,n_rows,i,j;
@@ -711,7 +711,7 @@ eti_rows_inserted (ETableModel * model, int row, int count,
}
static void
-eti_rows_deleted (ETableModel * model, int row, int count,
+eti_rows_deleted (ETableModel * model, gint row, gint count,
AtkObject * table_item)
{
gint i,j, n_rows, n_cols, old_nrows;
@@ -949,7 +949,7 @@ static void eti_a11y_selection_model_added_cb (ETableItem *eti,
static void eti_a11y_selection_changed_cb (ESelectionModel *selection,
GalA11yETableItem *a11y);
static void eti_a11y_cursor_changed_cb (ESelectionModel *selection,
- int row, int col,
+ gint row, gint col,
GalA11yETableItem *a11y);
/**
@@ -1021,7 +1021,7 @@ gal_a11y_e_table_item_new (ETableItem *item)
AtkObject *accessible;
ESelectionModel * esm;
AtkObject *parent;
- const char *name;
+ const gchar *name;
g_return_val_if_fail (item && item->cols >= 0 && item->rows >= 0, NULL);
a11y = g_object_new (gal_a11y_e_table_item_get_type (), NULL);
@@ -1188,7 +1188,7 @@ eti_a11y_selection_changed_cb (ESelectionModel *selection, GalA11yETableItem *a1
static void
eti_a11y_cursor_changed_cb (ESelectionModel *selection,
- int row, int col, GalA11yETableItem *a11y)
+ gint row, gint col, GalA11yETableItem *a11y)
{
ETableItem *item;
GalA11yETableItemPrivate *priv = GET_PRIVATE (a11y);
diff --git a/a11y/e-table/gal-a11y-e-table.c b/a11y/e-table/gal-a11y-e-table.c
index 1966fb29ee..bf75227af4 100644
--- a/a11y/e-table/gal-a11y-e-table.c
+++ b/a11y/e-table/gal-a11y-e-table.c
@@ -37,7 +37,7 @@
static AtkObjectClass *parent_class;
static GType parent_type;
static gint priv_offset;
-#define GET_PRIVATE(object) ((GalA11yETablePrivate *) (((char *) object) + priv_offset))
+#define GET_PRIVATE(object) ((GalA11yETablePrivate *) (((gchar *) object) + priv_offset))
#define PARENT_TYPE (parent_type)
struct _GalA11yETablePrivate {
@@ -125,7 +125,7 @@ et_get_n_children (AtkObject *accessible)
{
GalA11yETable *a11y = GAL_A11Y_E_TABLE (accessible);
ETable * et;
- int n = 0;
+ gint n = 0;
et = E_TABLE(GTK_ACCESSIBLE (a11y)->widget);
diff --git a/a11y/e-table/gal-a11y-e-tree.c b/a11y/e-table/gal-a11y-e-tree.c
index 4ecce81501..879b517aab 100644
--- a/a11y/e-table/gal-a11y-e-tree.c
+++ b/a11y/e-table/gal-a11y-e-tree.c
@@ -34,7 +34,7 @@
static AtkObjectClass *parent_class;
static GType parent_type;
static gint priv_offset;
-#define GET_PRIVATE(object) ((GalA11yETreePrivate *) (((char *) object) + priv_offset))
+#define GET_PRIVATE(object) ((GalA11yETreePrivate *) (((gchar *) object) + priv_offset))
#define PARENT_TYPE (parent_type)
struct _GalA11yETreePrivate {
diff --git a/a11y/e-text/gal-a11y-e-text.c b/a11y/e-text/gal-a11y-e-text.c
index 98484949ff..6717f687b0 100644
--- a/a11y/e-text/gal-a11y-e-text.c
+++ b/a11y/e-text/gal-a11y-e-text.c
@@ -39,11 +39,11 @@ static AtkComponentIface *component_parent_iface;
static GType parent_type;
static gint priv_offset;
static GQuark quark_accessible_object = 0;
-#define GET_PRIVATE(object) ((GalA11yETextPrivate *) (((char *) object) + priv_offset))
+#define GET_PRIVATE(object) ((GalA11yETextPrivate *) (((gchar *) object) + priv_offset))
#define PARENT_TYPE (parent_type)
struct _GalA11yETextPrivate {
- int dummy;
+ gint dummy;
};
static void
@@ -66,8 +66,8 @@ et_get_extents (AtkComponent *component,
EText *item = E_TEXT (atk_gobject_accessible_get_object (ATK_GOBJECT_ACCESSIBLE (component)));
double real_width;
double real_height;
- int fake_width;
- int fake_height;
+ gint fake_width;
+ gint fake_height;
if (component_parent_iface &&
component_parent_iface->get_extents)
@@ -94,7 +94,7 @@ et_get_full_text (AtkText *text)
{
EText *etext = E_TEXT (atk_gobject_accessible_get_object (ATK_GOBJECT_ACCESSIBLE (text)));
ETextModel *model;
- const char *full_text;
+ const gchar *full_text;
g_object_get (etext, "model", &model, NULL);
@@ -105,7 +105,7 @@ et_get_full_text (AtkText *text)
static void
et_set_full_text (AtkEditableText *text,
- const char *full_text)
+ const gchar *full_text)
{
EText *etext = E_TEXT (atk_gobject_accessible_get_object (ATK_GOBJECT_ACCESSIBLE (text)));
ETextModel *model;
@@ -121,7 +121,7 @@ et_get_text (AtkText *text,
gint end_offset)
{
gint start, end, real_start, real_end, len;
- const char *full_text = et_get_full_text (text);
+ const gchar *full_text = et_get_full_text (text);
if (full_text == NULL)
return NULL;
len = g_utf8_strlen (full_text, -1);
@@ -149,12 +149,12 @@ is_a_seperator (gunichar c)
}
static gint
-find_word_start (const char *text,
+find_word_start (const gchar *text,
gint begin_offset,
gint step)
{
gint offset;
- char *at_offset;
+ gchar *at_offset;
gunichar current, previous;
gint len;
@@ -175,12 +175,12 @@ find_word_start (const char *text,
}
static gint
-find_word_end (const char *text,
+find_word_end (const gchar *text,
gint begin_offset,
gint step)
{
gint offset;
- char *at_offset;
+ gchar *at_offset;
gunichar current, previous;
gint len;
@@ -201,14 +201,14 @@ find_word_end (const char *text,
}
static gint
-find_sentence_start (const char *text,
+find_sentence_start (const gchar *text,
gint begin_offset,
gint step)
{
gint offset, last_word_end, len;
- char *at_offset;
+ gchar *at_offset;
gunichar ch;
- int i;
+ gint i;
offset = find_word_start (text, begin_offset, step);
len = g_utf8_strlen (text, -1);
@@ -231,12 +231,12 @@ find_sentence_start (const char *text,
}
static gint
-find_sentence_end (const char *text,
+find_sentence_end (const gchar *text,
gint begin_offset,
gint step)
{
gint offset;
- char *at_offset;
+ gchar *at_offset;
gunichar previous;
gint len;
@@ -255,12 +255,12 @@ find_sentence_end (const char *text,
}
static gint
-find_line_start (const char *text,
+find_line_start (const gchar *text,
gint begin_offset,
gint step)
{
gint offset;
- char *at_offset;
+ gchar *at_offset;
gunichar previous;
gint len;
@@ -279,12 +279,12 @@ find_line_start (const char *text,
}
static gint
-find_line_end (const char *text,
+find_line_end (const gchar *text,
gint begin_offset,
gint step)
{
gint offset;
- char *at_offset;
+ gchar *at_offset;
gunichar current;
gint len;
@@ -310,7 +310,7 @@ et_get_text_after_offset (AtkText *text,
gint *end_offset)
{
gint start, end, len;
- const char *full_text = et_get_full_text (text);
+ const gchar *full_text = et_get_full_text (text);
g_return_val_if_fail (full_text, NULL);
switch (boundary_type)
@@ -363,7 +363,7 @@ et_get_text_at_offset (AtkText *text,
gint *end_offset)
{
gint start, end, len;
- const char *full_text = et_get_full_text (text);
+ const gchar *full_text = et_get_full_text (text);
g_return_val_if_fail (full_text, NULL);
switch (boundary_type)
@@ -412,15 +412,15 @@ static gunichar
et_get_character_at_offset (AtkText *text,
gint offset)
{
- const char *full_text = et_get_full_text (text);
- char *at_offset;
+ const gchar *full_text = et_get_full_text (text);
+ gchar *at_offset;
at_offset = g_utf8_offset_to_pointer (full_text, offset);
return g_utf8_get_char_validated (at_offset, -1);
}
-static gchar*
+static gchar *
et_get_text_before_offset (AtkText *text,
gint offset,
AtkTextBoundary boundary_type,
@@ -428,7 +428,7 @@ et_get_text_before_offset (AtkText *text,
gint *end_offset)
{
gint start, end, len;
- const char *full_text = et_get_full_text (text);
+ const gchar *full_text = et_get_full_text (text);
g_return_val_if_fail (full_text, NULL);
switch (boundary_type)
@@ -478,7 +478,7 @@ et_get_caret_offset (AtkText *text)
{
GObject *obj;
EText *etext;
- int offset;
+ gint offset;
g_return_val_if_fail (ATK_IS_GOBJECT_ACCESSIBLE(text), -1);
obj = atk_gobject_accessible_get_object (ATK_GOBJECT_ACCESSIBLE (text));
@@ -588,7 +588,7 @@ et_get_character_extents (AtkText *text,
static gint
et_get_character_count (AtkText *text)
{
- const char *full_text = et_get_full_text (text);
+ const gchar *full_text = et_get_full_text (text);
return g_utf8_strlen (full_text, -1);
}
@@ -606,8 +606,8 @@ et_get_offset_at_point (AtkText *text,
gint x_widget, y_widget, x_window, y_window;
GdkWindow *window;
GtkWidget *widget;
- int index;
- int trailing;
+ gint index;
+ gint trailing;
g_return_val_if_fail (ATK_IS_GOBJECT_ACCESSIBLE(text), -1);
obj = atk_gobject_accessible_get_object (ATK_GOBJECT_ACCESSIBLE (text));
@@ -670,7 +670,7 @@ et_get_n_selections (AtkText *text)
}
-static gchar*
+static gchar *
et_get_selection (AtkText *text,
gint selection_num,
gint *start_offset,
@@ -679,7 +679,7 @@ et_get_selection (AtkText *text,
gint start, end, real_start, real_end, len;
EText *etext;
if (selection_num == 0) {
- const char *full_text = et_get_full_text (text);
+ const gchar *full_text = et_get_full_text (text);
if (full_text == NULL)
return NULL;
len = g_utf8_strlen (full_text, -1);
@@ -842,9 +842,9 @@ et_insert_text (AtkEditableText *text,
gint *position)
{
/* Utf8 unimplemented */
- char *result;
+ gchar *result;
- const char *full_text = et_get_full_text (ATK_TEXT (text));
+ const gchar *full_text = et_get_full_text (ATK_TEXT (text));
if (full_text == NULL)
return;
diff --git a/a11y/ea-cell-table.c b/a11y/ea-cell-table.c
index 8c0b9ee253..95ae59dea4 100644
--- a/a11y/ea-cell-table.c
+++ b/a11y/ea-cell-table.c
@@ -36,11 +36,11 @@ ea_cell_table_create (gint rows, gint columns, gboolean column_first)
cell_data->columns = columns;
cell_data->rows = rows;
- cell_data->column_labels = g_new0 (gchar*, columns);
+ cell_data->column_labels = g_new0 (gchar *, columns);
for (index = columns -1; index >= 0; --index)
cell_data->column_labels [index] = NULL;
- cell_data->row_labels = g_new0 (gchar*, rows);
+ cell_data->row_labels = g_new0 (gchar *, rows);
for (index = rows -1; index >= 0; --index)
cell_data->row_labels [index] = NULL;
@@ -142,7 +142,7 @@ ea_cell_table_set_cell_at_index (EaCellTable * cell_data,
return TRUE;
}
-G_CONST_RETURN gchar*
+G_CONST_RETURN gchar *
ea_cell_table_get_column_label (EaCellTable * cell_data,
gint column)
{
@@ -164,7 +164,7 @@ ea_cell_table_set_column_label (EaCellTable * cell_data,
cell_data->column_labels[column] = g_strdup(label);
}
-G_CONST_RETURN gchar*
+G_CONST_RETURN gchar *
ea_cell_table_get_row_label (EaCellTable * cell_data,
gint row)
{
diff --git a/a11y/ea-cell-table.h b/a11y/ea-cell-table.h
index f8674ec42a..353bbd0634 100644
--- a/a11y/ea-cell-table.h
+++ b/a11y/ea-cell-table.h
@@ -48,11 +48,11 @@ gpointer ea_cell_table_get_cell_at_index (EaCellTable * cell_data,
gboolean ea_cell_table_set_cell_at_index (EaCellTable * cell_data,
gint index, gpointer cell);
-G_CONST_RETURN gchar*
+G_CONST_RETURN gchar *
ea_cell_table_get_column_label (EaCellTable * cell_data, gint column);
void ea_cell_table_set_column_label (EaCellTable * cell_data,
gint column, const gchar *label);
-G_CONST_RETURN gchar*
+G_CONST_RETURN gchar *
ea_cell_table_get_row_label (EaCellTable * cell_data, gint row);
void ea_cell_table_set_row_label (EaCellTable * cell_data,
gint row, const gchar *label);
diff --git a/a11y/ea-factory.h b/a11y/ea-factory.h
index dcf6a1382f..2331f54a0b 100644
--- a/a11y/ea-factory.h
+++ b/a11y/ea-factory.h
@@ -78,7 +78,7 @@ type_as_function ## _factory_get_type (void) \
\
if (!t) \
{ \
- char *name; \
+ gchar *name; \
static const GTypeInfo tinfo = \
{ \
sizeof (AtkObjectFactoryClass), \
diff --git a/a11y/gal-a11y-factory.h b/a11y/gal-a11y-factory.h
index 1ef8292eba..678689c2a4 100644
--- a/a11y/gal-a11y-factory.h
+++ b/a11y/gal-a11y-factory.h
@@ -66,7 +66,7 @@ type_as_function ## _factory_get_type (void) \
\
if (!t) \
{ \
- char *name; \
+ gchar *name; \
static const GTypeInfo tinfo = \
{ \
sizeof (AtkObjectFactoryClass), \
diff --git a/a11y/gal-a11y-util.h b/a11y/gal-a11y-util.h
index dedad9e049..87a9f15981 100644
--- a/a11y/gal-a11y-util.h
+++ b/a11y/gal-a11y-util.h
@@ -30,7 +30,7 @@ GType gal_a11y_type_register_static_with_private (GType parent_type,
const gchar *type_name,
GTypeInfo *info,
GTypeFlags flags,
- int priv_size,
+ gint priv_size,
gint *priv_offset);
#endif /* ! __GAL_A11Y_UTIL_H__ */
diff --git a/a11y/widgets/ea-calendar-cell.c b/a11y/widgets/ea-calendar-cell.c
index 5b4e9f1d8c..ab103bf1ef 100644
--- a/a11y/widgets/ea-calendar-cell.c
+++ b/a11y/widgets/ea-calendar-cell.c
@@ -80,7 +80,7 @@ e_calendar_cell_new (ECalendarItem *calitem, gint row, gint column)
cell->column = column;
#ifdef ACC_DEBUG
- g_print ("EvoAcc: e_calendar_cell created %p\n", (void *)cell);
+ g_print ("EvoAcc: e_calendar_cell created %p\n", (gpointer)cell);
#endif
return cell;
@@ -91,8 +91,8 @@ e_calendar_cell_new (ECalendarItem *calitem, gint row, gint column)
static void ea_calendar_cell_class_init (EaCalendarCellClass *klass);
static void ea_calendar_cell_init (EaCalendarCell *a11y);
-static G_CONST_RETURN gchar* ea_calendar_cell_get_name (AtkObject *accessible);
-static G_CONST_RETURN gchar* ea_calendar_cell_get_description (AtkObject *accessible);
+static G_CONST_RETURN gchar * ea_calendar_cell_get_name (AtkObject *accessible);
+static G_CONST_RETURN gchar * ea_calendar_cell_get_description (AtkObject *accessible);
static AtkObject * ea_calendar_cell_get_parent (AtkObject *accessible);
static gint ea_calendar_cell_get_index_in_parent (AtkObject *accessible);
static AtkStateSet *ea_calendar_cell_ref_state_set (AtkObject *accessible);
@@ -209,7 +209,7 @@ static void ea_calendar_cell_finalize (GObject *object)
}
#endif
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
ea_calendar_cell_get_name (AtkObject *accessible)
{
GObject *g_obj;
@@ -243,7 +243,7 @@ ea_calendar_cell_get_name (AtkObject *accessible)
return accessible->name;
}
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
ea_calendar_cell_get_description (AtkObject *accessible)
{
return ea_calendar_cell_get_name (accessible);
diff --git a/a11y/widgets/ea-calendar-item.c b/a11y/widgets/ea-calendar-item.c
index fdb109d5e6..17795c51a5 100644
--- a/a11y/widgets/ea-calendar-item.c
+++ b/a11y/widgets/ea-calendar-item.c
@@ -38,8 +38,8 @@
static void ea_calendar_item_class_init (EaCalendarItemClass *klass);
static void ea_calendar_item_finalize (GObject *object);
-static G_CONST_RETURN gchar* ea_calendar_item_get_name (AtkObject *accessible);
-static G_CONST_RETURN gchar* ea_calendar_item_get_description (AtkObject *accessible);
+static G_CONST_RETURN gchar * ea_calendar_item_get_name (AtkObject *accessible);
+static G_CONST_RETURN gchar * ea_calendar_item_get_description (AtkObject *accessible);
static gint ea_calendar_item_get_n_children (AtkObject *accessible);
static AtkObject *ea_calendar_item_ref_child (AtkObject *accessible, gint index);
static AtkStateSet* ea_calendar_item_ref_state_set (AtkObject *accessible);
@@ -88,10 +88,10 @@ static AtkObject* table_interface_get_column_header (AtkTable *table,
gint in_col);
static AtkObject* table_interface_get_caption (AtkTable *table);
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
table_interface_get_column_description (AtkTable *table, gint in_col);
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
table_interface_get_row_description (AtkTable *table, gint row);
static AtkObject* table_interface_get_summary (AtkTable *table);
@@ -263,7 +263,7 @@ ea_calendar_item_finalize (GObject *object)
#endif
}
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
ea_calendar_item_get_name (AtkObject *accessible)
{
GObject *g_obj;
@@ -329,7 +329,7 @@ ea_calendar_item_get_name (AtkObject *accessible)
return accessible->name;
}
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
ea_calendar_item_get_description (AtkObject *accessible)
{
if (accessible->description)
@@ -782,7 +782,7 @@ table_interface_get_caption (AtkTable *table)
return NULL;
}
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
table_interface_get_column_description (AtkTable *table, gint in_col)
{
AtkGObjectAccessible *atk_gobj;
@@ -816,7 +816,7 @@ table_interface_get_column_description (AtkTable *table, gint in_col)
return description;
}
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
table_interface_get_row_description (AtkTable *table, gint row)
{
AtkGObjectAccessible *atk_gobj;
diff --git a/a11y/widgets/ea-combo-button.c b/a11y/widgets/ea-combo-button.c
index c5180c3927..e25aa7f377 100644
--- a/a11y/widgets/ea-combo-button.c
+++ b/a11y/widgets/ea-combo-button.c
@@ -37,7 +37,7 @@ enum {
};
/* Static functions */
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
ea_combo_button_get_name (AtkObject *a11y)
{
GtkWidget *widget;