aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-memory.c
diff options
context:
space:
mode:
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;