diff options
author | Jonas Danielsson <jonas@threetimestwo.org> | 2014-11-04 20:57:31 +0100 |
---|---|---|
committer | Jiří Techet <techet@gmail.com> | 2014-11-07 18:59:30 +0100 |
commit | adf500d71116ddc90255b0d5ec6bec961ee5122e (patch) | |
tree | ba803d8cb58a4e45118dec162157148e6054dd82 | |
parent | 08c9ea88e4a9fe19adc81da2329066f53b2332c5 (diff) | |
download | libchamplain-adf500d71116ddc90255b0d5ec6bec961ee5122e.tar.gz |
ChamplainView: Emit animation-completed::zoom
https://bugzilla.gnome.org/show_bug.cgi?id=739641
-rw-r--r-- | champlain/champlain-view.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/champlain/champlain-view.c b/champlain/champlain-view.c index 5431a11..cca78a6 100644 --- a/champlain/champlain-view.c +++ b/champlain/champlain-view.c @@ -975,7 +975,7 @@ champlain_view_class_init (ChamplainViewClass *champlainViewClass) * The #ChamplainView::animation-completed signal is emitted when any animation in the view * ends. This is a detailed signal. For example, if you want to be signaled * only for go-to animation, you should connect to - * "animation-completed::go-to". + * "animation-completed::go-to". And for zoom, connect to "animation-completed::zoom". * * Since: 0.4 */ @@ -2536,6 +2536,7 @@ zoom_animation_completed (ClutterActor *actor, clutter_actor_show (priv->user_layers); g_signal_handlers_disconnect_by_func (actor, zoom_animation_completed, view); + g_signal_emit_by_name (view, "animation-completed::zoom", NULL); } |