[libchamplain] Call clutter_actor_queue_redraw() after drawing marker
- From: Jiří Techet <jiritechet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libchamplain] Call clutter_actor_queue_redraw() after drawing marker
- Date: Sat, 12 Feb 2011 19:08:14 +0000 (UTC)
commit 0f08c2617e0652a5fb05dcf4a43ed4c19978b512
Author: JiÅ?Ã Techet <techet gmail com>
Date: Sat Feb 12 20:04:10 2011 +0100
Call clutter_actor_queue_redraw() after drawing marker
So the whole actor is redrawn when calling from an idle function.
champlain/champlain-label.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/champlain/champlain-label.c b/champlain/champlain-label.c
index 05becc7..7ffcb7a 100644
--- a/champlain/champlain-label.c
+++ b/champlain/champlain-label.c
@@ -822,6 +822,8 @@ draw_label (ChamplainLabel *label)
clutter_actor_set_anchor_point (CLUTTER_ACTOR (label),
0,
clutter_actor_get_height (priv->text_actor) / 2.0);
+
+ clutter_actor_queue_redraw (CLUTTER_ACTOR (label));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]