diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-05-27 22:29:19 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-05-27 22:29:19 +0800 |
commit | 948235c3d1076dbe6ed2e57a24c16a083bbd9f01 (patch) | |
tree | 4133b1adfd94d8f889ca7ad4ad851346518f4171 /a11y | |
parent | cc3a98fc1ad5bb87aa7335f3de404ee7feee1541 (diff) | |
download | gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar.gz gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar.zst gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.zip |
Prefer GLib basic types over C types.
Diffstat (limited to 'a11y')
-rw-r--r-- | a11y/ea-cell-table.c | 8 | ||||
-rw-r--r-- | a11y/ea-cell-table.h | 4 | ||||
-rw-r--r-- | a11y/ea-factory.h | 2 | ||||
-rw-r--r-- | a11y/gal-a11y-factory.h | 2 | ||||
-rw-r--r-- | a11y/gal-a11y-util.h | 2 |
5 files changed, 9 insertions, 9 deletions
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__ */ |