summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2007-03-29 19:40:35 -0400
committerRay Strode <rstrode@redhat.com>2007-03-29 19:40:35 -0400
commite5bdabaae26f3bf21ca229adbc49fa75fffab9c3 (patch)
tree6e3c1528002aa019a75bc0d1586ae13f26535193
parent2b494e1041666d74edd070e42fcf259a9966b39c (diff)
cast function with not exactly the right signature to
(PopWindowStackForeachFunc)
-rw-r--r--pop-demo.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/pop-demo.c b/pop-demo.c
index 28f76c0..8ff4fcd 100644
--- a/pop-demo.c
+++ b/pop-demo.c
@@ -132,7 +132,9 @@ draw_window_from_stack (PopWindowStack *stack,
static void
draw_windows (cairo_t *cairo_context)
{
- pop_window_stack_foreach (stack, draw_window_from_stack, cairo_context);
+ pop_window_stack_foreach (stack,
+ (PopWindowStackForeachFunc)
+ draw_window_from_stack, cairo_context);
}
void