aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-memory.c
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 /widgets/table/e-table-memory.c
parent6f5464f34ceec9e5701e3e3e651a40f9e6b3a072 (diff)
downloadgsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar.gz
gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar.zst
gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.zip
Prefer GLib basic types over C types.
Diffstat (limited to 'widgets/table/e-table-memory.c')
-rw-r--r--widgets/table/e-table-memory.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/widgets/table/e-table-memory.c b/widgets/table/e-table-memory.c
index 3fb85a9553..98fd65c460 100644
--- a/widgets/table/e-table-memory.c
+++ b/widgets/table/e-table-memory.c
@@ -41,7 +41,7 @@ G_DEFINE_TYPE (ETableMemory, e_table_memory, E_TABLE_MODEL_TYPE)
struct ETableMemoryPriv {
gpointer *data;
- int num_rows;
+ gint num_rows;
gint frozen;
};
@@ -120,7 +120,7 @@ e_table_memory_new (void)
* Return value:
**/
gpointer
-e_table_memory_get_data (ETableMemory *etmm, int row)
+e_table_memory_get_data (ETableMemory *etmm, gint row)
{
g_return_val_if_fail(row >= 0, NULL);
g_return_val_if_fail(row < etmm->priv->num_rows, NULL);
@@ -137,7 +137,7 @@ e_table_memory_get_data (ETableMemory *etmm, int row)
*
**/
void
-e_table_memory_set_data (ETableMemory *etmm, int row, gpointer data)
+e_table_memory_set_data (ETableMemory *etmm, gint row, gpointer data)
{
g_return_if_fail(row >= 0);
g_return_if_fail(row < etmm->priv->num_rows);
@@ -158,7 +158,7 @@ e_table_memory_set_data (ETableMemory *etmm, int row, gpointer data)
**/
void
e_table_memory_insert (ETableMemory *etmm,
- int row,
+ gint row,
gpointer data)
{
g_return_if_fail(row >= -1);
@@ -189,7 +189,7 @@ e_table_memory_insert (ETableMemory *etmm,
* Return value:
**/
gpointer
-e_table_memory_remove (ETableMemory *etmm, int row)
+e_table_memory_remove (ETableMemory *etmm, gint row)
{
gpointer ret;