aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-header-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/table/e-table-header-utils.c')
-rw-r--r--widgets/table/e-table-header-utils.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/widgets/table/e-table-header-utils.c b/widgets/table/e-table-header-utils.c
index 7976289020..5d6ed5cb36 100644
--- a/widgets/table/e-table-header-utils.c
+++ b/widgets/table/e-table-header-utils.c
@@ -67,7 +67,7 @@ build_header_layout (GtkWidget *widget, const gchar *str)
*
* Return value: The height of the button, in pixels.
**/
-double
+gdouble
e_table_header_compute_height (ETableCol *ecol, GtkWidget *widget)
{
gint ythick;
@@ -98,7 +98,7 @@ e_table_header_compute_height (ETableCol *ecol, GtkWidget *widget)
return height;
}
-double
+gdouble
e_table_header_width_extras (GtkStyle *style)
{
g_return_val_if_fail (style != NULL, -1);
@@ -179,7 +179,7 @@ make_composite_pixmap (GdkDrawable *drawable, GdkGC *gc,
else
xfactor = width;
- p[3] = ((int) p[3] * xfactor * yfactor / (width * height));
+ p[3] = ((gint) p[3] * xfactor * yfactor / (width * height));
p += 4;
}
}