summaryrefslogtreecommitdiff
path: root/devices
diff options
context:
space:
mode:
authorAkira TAGOH <akira@tagoh.org>2006-06-18 18:48:27 +0000
committerAkira TAGOH <akira@tagoh.org>2006-06-18 18:48:27 +0000
commit381d0594adf2f72c5802bb750c31990492fcd082 (patch)
tree3a7def4b0e31fa86303d3348a6f3d47e143f953b /devices
parente41a2537507f4a506ae9684690a9b476cacc558c (diff)
* improved a footprint.
Diffstat (limited to 'devices')
-rw-r--r--devices/cairo/hgdevice-cairo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/devices/cairo/hgdevice-cairo.c b/devices/cairo/hgdevice-cairo.c
index 90bbae3..0761761 100644
--- a/devices/cairo/hgdevice-cairo.c
+++ b/devices/cairo/hgdevice-cairo.c
@@ -361,7 +361,8 @@ _hg_cairo_device_real_stroke(HgDevice *device,
} else if (HG_IS_VALUE_REAL (node)) {
d = HG_VALUE_GET_REAL (node);
} else {
- g_warning("[BUG] Invalid object type %d was given for dashline pattern.", node->type);
+ g_warning("[BUG] Invalid object type %d was given for dashline pattern.",
+ HG_VALUE_GET_VALUE_TYPE (node));
d = 0.0;
}
dashes[i] = d;