aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--matchbox/comp-mgr/mb-wm-comp-mgr.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e2882ba..1c799dd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2008-04-10 Tomas Frydrych <tf@o-hand.com>
+ * matchbox/comp-mgr/mb-wm-comp-mgr.c:
+ (mb_wm_comp_mgr_turn_on):
+ Fixed warning.
+
+2008-04-10 Tomas Frydrych <tf@o-hand.com>
+
* matchbox/core/mb-wm-main-context.c:
(mb_wm_main_context_x_event_handler_remove):
(mb_wm_main_context_x_event_handler_add):
diff --git a/matchbox/comp-mgr/mb-wm-comp-mgr.c b/matchbox/comp-mgr/mb-wm-comp-mgr.c
index 78d7c37..8a8eaf6 100644
--- a/matchbox/comp-mgr/mb-wm-comp-mgr.c
+++ b/matchbox/comp-mgr/mb-wm-comp-mgr.c
@@ -422,7 +422,7 @@ mb_wm_comp_mgr_turn_on (MBWMCompMgr *mgr)
mb_wm_main_context_x_event_handler_add (wm->main_ctx,
None,
wm->damage_event_base + XDamageNotify,
- klass->handle_damage,
+ (MBWMXEventFunc)klass->handle_damage,
mgr);
}