From 948235c3d1076dbe6ed2e57a24c16a083bbd9f01 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 27 May 2009 10:29:19 -0400 Subject: Prefer GLib basic types over C types. --- widgets/table/e-table-group.h | 54 +++++++++++++++++++++---------------------- 1 file changed, 27 insertions(+), 27 deletions(-) (limited to 'widgets/table/e-table-group.h') diff --git a/widgets/table/e-table-group.h b/widgets/table/e-table-group.h index 36868f7d35..7bf139e666 100644 --- a/widgets/table/e-table-group.h +++ b/widgets/table/e-table-group.h @@ -69,17 +69,17 @@ typedef struct { GnomeCanvasGroupClass parent_class; /* Signals */ - void (*cursor_change) (ETableGroup *etg, int row); - void (*cursor_activated) (ETableGroup *etg, int row); - void (*double_click) (ETableGroup *etg, int row, int col, GdkEvent *event); - gint (*right_click) (ETableGroup *etg, int row, int col, GdkEvent *event); - gint (*click) (ETableGroup *etg, int row, int col, GdkEvent *event); - gint (*key_press) (ETableGroup *etg, int row, int col, GdkEvent *event); - gint (*start_drag) (ETableGroup *etg, int row, int col, GdkEvent *event); + void (*cursor_change) (ETableGroup *etg, gint row); + void (*cursor_activated) (ETableGroup *etg, gint row); + void (*double_click) (ETableGroup *etg, gint row, gint col, GdkEvent *event); + gint (*right_click) (ETableGroup *etg, gint row, gint col, GdkEvent *event); + gint (*click) (ETableGroup *etg, gint row, gint col, GdkEvent *event); + gint (*key_press) (ETableGroup *etg, gint row, gint col, GdkEvent *event); + gint (*start_drag) (ETableGroup *etg, gint row, gint col, GdkEvent *event); /* Virtual functions. */ void (*add) (ETableGroup *etg, gint row); - void (*add_array) (ETableGroup *etg, const int *array, int count); + void (*add_array) (ETableGroup *etg, const gint *array, gint count); void (*add_all) (ETableGroup *etg); gboolean (*remove) (ETableGroup *etg, gint row); gint (*row_count) (ETableGroup *etg); @@ -89,9 +89,9 @@ typedef struct { gboolean (*get_focus) (ETableGroup *etg); gint (*get_focus_column) (ETableGroup *etg); EPrintable *(*get_printable) (ETableGroup *etg); - void (*compute_location) (ETableGroup *etg, int *x, int *y, int *row, int *col); - void (*get_mouse_over) (ETableGroup *etg, int *row, int *col); - void (*get_cell_geometry) (ETableGroup *etg, int *row, int *col, int *x, int *y, int *width, int *height); + void (*compute_location) (ETableGroup *etg, gint *x, gint *y, gint *row, gint *col); + void (*get_mouse_over) (ETableGroup *etg, gint *row, gint *col); + void (*get_cell_geometry) (ETableGroup *etg, gint *row, gint *col, gint *x, gint *y, gint *width, gint *height); } ETableGroupClass; @@ -99,8 +99,8 @@ typedef struct { void e_table_group_add (ETableGroup *etg, gint row); void e_table_group_add_array (ETableGroup *etg, - const int *array, - int count); + const gint *array, + gint count); void e_table_group_add_all (ETableGroup *etg); gboolean e_table_group_remove (ETableGroup *etg, gint row); @@ -119,26 +119,26 @@ gint e_table_group_get_focus_column (ETableGroup *etg); ETableHeader *e_table_group_get_header (ETableGroup *etg); EPrintable *e_table_group_get_printable (ETableGroup *etg); void e_table_group_compute_location (ETableGroup *etg, - int *x, - int *y, - int *row, - int *col); + gint *x, + gint *y, + gint *row, + gint *col); void e_table_group_get_mouse_over(ETableGroup *etg, - int *row, - int *col); + gint *row, + gint *col); void e_table_group_get_cell_geometry (ETableGroup *etg, - int *row, - int *col, - int *x, - int *y, - int *width, - int *height); + gint *row, + gint *col, + gint *x, + gint *y, + gint *width, + gint *height); ETableGroup *e_table_group_new (GnomeCanvasGroup *parent, ETableHeader *full_header, ETableHeader *header, ETableModel *model, ETableSortInfo *sort_info, - int n); + gint n); void e_table_group_construct (GnomeCanvasGroup *parent, ETableGroup *etg, ETableHeader *full_header, @@ -172,7 +172,7 @@ gint e_table_group_start_drag (ETableGroup *etg, GdkEvent *event); GType e_table_group_get_type (void); -typedef void (*ETableGroupLeafFn) (void *e_table_item, void *closure); +typedef void (*ETableGroupLeafFn) (gpointer e_table_item, gpointer closure); void e_table_group_apply_to_leafs (ETableGroup *etg, ETableGroupLeafFn fn, void *closure); -- cgit v1.2.3