aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-subset.h
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-subset.h
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-subset.h')
-rw-r--r--widgets/table/e-table-subset.h44
1 files changed, 22 insertions, 22 deletions
diff --git a/widgets/table/e-table-subset.h b/widgets/table/e-table-subset.h
index 83c9af4d99..dd345732e2 100644
--- a/widgets/table/e-table-subset.h
+++ b/widgets/table/e-table-subset.h
@@ -41,18 +41,18 @@ typedef struct {
ETableModel base;
ETableModel *source;
- int n_map;
- int *map_table;
-
- int last_access;
-
- int table_model_pre_change_id;
- int table_model_no_change_id;
- int table_model_changed_id;
- int table_model_row_changed_id;
- int table_model_cell_changed_id;
- int table_model_rows_inserted_id;
- int table_model_rows_deleted_id;
+ gint n_map;
+ gint *map_table;
+
+ gint last_access;
+
+ gint table_model_pre_change_id;
+ gint table_model_no_change_id;
+ gint table_model_changed_id;
+ gint table_model_row_changed_id;
+ gint table_model_cell_changed_id;
+ gint table_model_rows_inserted_id;
+ gint table_model_rows_deleted_id;
} ETableSubset;
typedef struct {
@@ -61,23 +61,23 @@ typedef struct {
void (*proxy_model_pre_change) (ETableSubset *etss, ETableModel *etm);
void (*proxy_model_no_change) (ETableSubset *etss, ETableModel *etm);
void (*proxy_model_changed) (ETableSubset *etss, ETableModel *etm);
- void (*proxy_model_row_changed) (ETableSubset *etss, ETableModel *etm, int row);
- void (*proxy_model_cell_changed) (ETableSubset *etss, ETableModel *etm, int col, int row);
- void (*proxy_model_rows_inserted) (ETableSubset *etss, ETableModel *etm, int row, int count);
- void (*proxy_model_rows_deleted) (ETableSubset *etss, ETableModel *etm, int row, int count);
+ void (*proxy_model_row_changed) (ETableSubset *etss, ETableModel *etm, gint row);
+ void (*proxy_model_cell_changed) (ETableSubset *etss, ETableModel *etm, gint col, gint row);
+ void (*proxy_model_rows_inserted) (ETableSubset *etss, ETableModel *etm, gint row, gint count);
+ void (*proxy_model_rows_deleted) (ETableSubset *etss, ETableModel *etm, gint row, gint count);
} ETableSubsetClass;
GType e_table_subset_get_type (void);
ETableModel *e_table_subset_new (ETableModel *etm,
- int n_vals);
+ gint n_vals);
ETableModel *e_table_subset_construct (ETableSubset *ets,
ETableModel *source,
- int nvals);
+ gint nvals);
-int e_table_subset_model_to_view_row (ETableSubset *ets,
- int model_row);
-int e_table_subset_view_to_model_row (ETableSubset *ets,
- int view_row);
+gint e_table_subset_model_to_view_row (ETableSubset *ets,
+ gint model_row);
+gint e_table_subset_view_to_model_row (ETableSubset *ets,
+ gint view_row);
ETableModel *e_table_subset_get_toplevel (ETableSubset *table_model);