[libchamplain] Emit 'animation-completed' signal at the very end
- From: Jiří Techet <jiritechet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libchamplain] Emit 'animation-completed' signal at the very end
- Date: Fri, 19 Apr 2013 19:43:06 +0000 (UTC)
commit 98321ed98d0da03bbe434fb14fb326bf78531e33
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Wed Apr 17 18:43:40 2013 +0300
Emit 'animation-completed' signal at the very end
Without this patch, apps will get criticals and even crashes if they try
to zoom in or launch another goto from within their handlers for
'animation-completed' signal.
https://bugzilla.gnome.org/show_bug.cgi?id=698213
champlain/champlain-view.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/champlain/champlain-view.c b/champlain/champlain-view.c
index 7d2f86d..2bdbe73 100644
--- a/champlain/champlain-view.c
+++ b/champlain/champlain-view.c
@@ -1449,10 +1449,10 @@ champlain_view_stop_go_to (ChamplainView *view)
g_object_unref (priv->goto_context->timeline);
- g_signal_emit_by_name (view, "animation-completed::go-to", NULL);
-
g_slice_free (GoToContext, priv->goto_context);
priv->goto_context = NULL;
+
+ g_signal_emit_by_name (view, "animation-completed::go-to", NULL);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]