Commit 10f977db44dab93e2a89f32d5081fddb21a08b23

Fix view destruction upon shutdown.

View (and indirectly map sources) were not destroyed because
gtk_champlain_embed
* didn't chain dispose

Also the view has to be destroyed manually when inserted into stage
obtained from clutter_stage_get_default() - it appears that it isn't
destroyed upon application shutdown.

Signed-off-by: Jiří Techet <techet@gmail.com>
champlain-gtk/gtk-champlain-embed.c
(2 / 0)
  
145145 gdk_cursor_unref (priv->cursor_hand_closed);
146146 priv->cursor_hand_closed = NULL;
147147 }
148
149 G_OBJECT_CLASS (gtk_champlain_embed_parent_class)->dispose (object);
148150}
149151
150152static void
demos/animated-marker.c
(1 / 0)
  
133133 clutter_actor_show (stage);
134134 clutter_main ();
135135
136 clutter_actor_destroy (actor);
136137 return 0;
137138}
demos/launcher.c
(1 / 0)
  
143143 clutter_actor_show (stage);
144144 clutter_main ();
145145
146 clutter_actor_destroy (actor);
146147 return 0;
147148}
demos/polygons.c
(1 / 0)
  
143143 clutter_actor_show (stage);
144144 clutter_main ();
145145
146 clutter_actor_destroy (actor);
146147 return 0;
147148}
demos/url-marker.c
(1 / 0)
  
270270
271271 g_object_unref (session);
272272
273 clutter_actor_destroy (view);
273274 return 0;
274275}

Comments

Add a new comment:

Login or create an account to post a comment

Add your comment