aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-config-field.c
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-config-field.c
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-config-field.c')
-rw-r--r--widgets/table/e-table-config-field.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/widgets/table/e-table-config-field.c b/widgets/table/e-table-config-field.c
index 6d3e5611da..0fd82bf0ed 100644
--- a/widgets/table/e-table-config-field.c
+++ b/widgets/table/e-table-config-field.c
@@ -120,7 +120,7 @@ etcf_truncate (ETableConfigField *etcf)
static void
etcf_set_sensitivity(ETableConfigField *etcf)
{
- int count = etcf_get_count(etcf);
+ gint count = etcf_get_count(etcf);
if (etcf->n >= count) {
gtk_widget_set_sensitive(etcf->radio_ascending, FALSE);
@@ -138,7 +138,7 @@ etcf_set_sensitivity(ETableConfigField *etcf)
static void
toggled(GtkWidget *widget, ETableConfigField *etcf)
{
- int count;
+ gint count;
count = etcf_get_count(etcf);
if (count > etcf->n) {
@@ -176,11 +176,11 @@ changed(GtkWidget *widget, ETableConfigField *etcf)
static void
etcf_setup(ETableConfigField *etcf)
{
- int count;
+ gint count;
GList *list = NULL;
ETableColumnSpecification **column;
ETableColumnSpecification *chosen_column = NULL;
- int model_col = -1;
+ gint model_col = -1;
etcf_set_sensitivity(etcf);
@@ -228,7 +228,7 @@ e_table_config_field_construct_nth (ETableConfigField *etcf,
ETableSpecification *spec,
ETableSortInfo *sort_info,
gboolean grouping,
- int n)
+ gint n)
{
GtkWidget *frame;
GtkWidget *internal_hbox;