aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-cell-toggle.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/table/e-cell-toggle.c')
-rw-r--r--widgets/table/e-cell-toggle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/table/e-cell-toggle.c b/widgets/table/e-cell-toggle.c
index a03eed037e..5f7cc66321 100644
--- a/widgets/table/e-cell-toggle.c
+++ b/widgets/table/e-cell-toggle.c
@@ -328,8 +328,8 @@ cell_toggle_print (ECellView *ecell_view,
cairo_save(cr);
cairo_translate (cr, 0 , 0);
image = gdk_pixbuf_add_alpha (image, TRUE, 255, 255, 255);
- image_width = (double)gdk_pixbuf_get_width (image);
- image_height = (double)gdk_pixbuf_get_height (image);
+ image_width = (gdouble)gdk_pixbuf_get_width (image);
+ image_height = (gdouble)gdk_pixbuf_get_height (image);
cairo_rectangle (cr, image_width / 7, image_height / 3,
image_width - image_width / 4,
image_width - image_height / 7);