aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-group.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-group.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-group.h')
-rw-r--r--widgets/table/e-table-group.h54
1 files changed, 27 insertions, 27 deletions
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);