mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 03:22:04 +00:00
2008-07-30 Ross Burton <ross@openedhand.com>
* clutter/clutter-main.c: Destroy the debugging timer when the context is freed. * clutter/clutter-stage.c: Free the stage title when the stage is finalized.
This commit is contained in:
parent
d6496254d6
commit
56be7fb7ea
@ -1,3 +1,11 @@
|
||||
2008-07-30 Ross Burton <ross@openedhand.com>
|
||||
|
||||
* clutter/clutter-main.c:
|
||||
Destroy the debugging timer when the context is freed.
|
||||
|
||||
* clutter/clutter-stage.c:
|
||||
Free the stage title when the stage is finalized.
|
||||
|
||||
2008-07-30 Neil Roberts <neil@o-hand.com>
|
||||
|
||||
* clutter/clutter-model.c (clutter_model_set_sorting_column): This
|
||||
|
@ -408,6 +408,10 @@ clutter_context_free (ClutterMainContext *context)
|
||||
g_object_unref (context->font_map);
|
||||
context->font_map = NULL;
|
||||
|
||||
#ifdef CLUTTER_ENABLE_DEBUG
|
||||
g_timer_destroy (context->timer);
|
||||
#endif
|
||||
|
||||
/* XXX: The cleaning up of the event queue should be moved here from
|
||||
the backend base class. */
|
||||
|
||||
|
@ -478,6 +478,10 @@ clutter_stage_dispose (GObject *object)
|
||||
static void
|
||||
clutter_stage_finalize (GObject *object)
|
||||
{
|
||||
ClutterStage *stage = CLUTTER_STAGE (object);
|
||||
|
||||
g_free (stage->priv->title);
|
||||
|
||||
G_OBJECT_CLASS (clutter_stage_parent_class)->finalize (object);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user