material: fix a typo in _cogl_material_journal_unref

The function had a line like:

CoglMaterial *material =
    material = _cogl_material_pointer_from_handle (material_handle);

where the duplicate "material =" wasn't intended, so this patch removes
it.
This commit is contained in:
Robert Bragg 2010-06-22 11:21:09 +01:00
parent c8aae9a663
commit 9234757c35

View File

@ -7165,7 +7165,7 @@ void
_cogl_material_journal_unref (CoglHandle material_handle) _cogl_material_journal_unref (CoglHandle material_handle)
{ {
CoglMaterial *material = CoglMaterial *material =
material = _cogl_material_pointer_from_handle (material_handle); _cogl_material_pointer_from_handle (material_handle);
material->journal_ref_count--; material->journal_ref_count--;
cogl_handle_unref (material_handle); cogl_handle_unref (material_handle);
} }