[libchamplain] Flag redraw as non-scheduled at the beginning of redraw_path()
- From: Jiří Techet <jiritechet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libchamplain] Flag redraw as non-scheduled at the beginning of redraw_path()
- Date: Sat, 26 Feb 2011 13:41:12 +0000 (UTC)
commit 3a6c9817b11943455b876539231cae7085198960
Author: JiÅ?Ã Techet <techet gmail com>
Date: Sat Feb 26 14:39:06 2011 +0100
Flag redraw as non-scheduled at the beginning of redraw_path()
champlain/champlain-path-layer.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/champlain/champlain-path-layer.c b/champlain/champlain-path-layer.c
index 17baf00..0b44c15 100644
--- a/champlain/champlain-path-layer.c
+++ b/champlain/champlain-path-layer.c
@@ -675,6 +675,8 @@ redraw_path (ChamplainPathLayer *layer)
gint x, y;
guint last_width, last_height;
+ priv->redraw_scheduled = FALSE;
+
/* layer not yet added to the view */
if (view == NULL)
return FALSE;
@@ -734,8 +736,6 @@ redraw_path (ChamplainPathLayer *layer)
cairo_stroke (cr);
cairo_destroy (cr);
-
- priv->redraw_scheduled = FALSE;
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]