Commit ef8a6f2f authored by Debarshi Ray's avatar Debarshi Ray

pipeline: Silence a WARNING by working around a GEGL bug

parent fb3e4eb3
......@@ -134,9 +134,17 @@ photos_pipeline_dispose (GObject *object)
PhotosPipeline *self = PHOTOS_PIPELINE (object);
/* We must drop all references to the child nodes before destroying
* the graph. The other option would be to ensure that the
* GeglProcessor is destroyed before its Pipeline, but since that is
* harder to enforce, let's do this instead.
* See:
g_clear_pointer (&self->hash, (GDestroyNotify) g_hash_table_unref);
g_clear_object (&self->graph);
g_clear_object (&self->parent);
g_clear_pointer (&self->hash, (GDestroyNotify) g_hash_table_unref);
G_OBJECT_CLASS (photos_pipeline_parent_class)->dispose (object);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment