aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-subset.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-06-02 07:09:19 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-06-02 07:09:19 +0800
commit8771a6de3590d468d1a2c3cfab34955c624f614a (patch)
treedc23ed6ab0533bc9f241976f33b6c6cc2d7ee117 /widgets/table/e-table-subset.c
parent69a1e923a71ee881721e21b991de08b897f9e7b0 (diff)
downloadgsoc2013-evolution-8771a6de3590d468d1a2c3cfab34955c624f614a.tar.gz
gsoc2013-evolution-8771a6de3590d468d1a2c3cfab34955c624f614a.tar.zst
gsoc2013-evolution-8771a6de3590d468d1a2c3cfab34955c624f614a.zip
More code cleanup.
Diffstat (limited to 'widgets/table/e-table-subset.c')
-rw-r--r--widgets/table/e-table-subset.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/widgets/table/e-table-subset.c b/widgets/table/e-table-subset.c
index bf137e0ef8..a860aba24f 100644
--- a/widgets/table/e-table-subset.c
+++ b/widgets/table/e-table-subset.c
@@ -131,7 +131,7 @@ etss_finalize (GObject *object)
G_OBJECT_CLASS (etss_parent_class)->finalize (object);
}
-static int
+static gint
etss_column_count (ETableModel *etm)
{
ETableSubset *etss = (ETableSubset *)etm;
@@ -139,7 +139,7 @@ etss_column_count (ETableModel *etm)
return e_table_model_column_count (etss->source);
}
-static int
+static gint
etss_row_count (ETableModel *etm)
{
ETableSubset *etss = (ETableSubset *)etm;
@@ -394,7 +394,7 @@ e_table_subset_construct (ETableSubset *etss, ETableModel *source, gint nvals)
gint i;
if (nvals) {
- buffer = (guint *) g_malloc (sizeof (unsigned int) * nvals);
+ buffer = (guint *) g_malloc (sizeof (guint) * nvals);
if (buffer == NULL)
return NULL;
} else