conform: Do not use deprecated API

There is no more type-specific ref/unref pairs: it is all under
CoglHandle now.
This commit is contained in:
Emmanuele Bassi
2010-02-15 11:56:34 +00:00
parent d607400f01
commit c3354cb2c0
3 changed files with 5 additions and 5 deletions

View File

@ -94,7 +94,7 @@ test_blend (TestState *state,
y * QUAD_WIDTH,
x * QUAD_WIDTH + QUAD_WIDTH,
y * QUAD_WIDTH + QUAD_WIDTH);
cogl_material_unref (material);
cogl_handle_unref (material);
/*
* Now blend a rectangle over our well defined destination:
@ -120,7 +120,7 @@ test_blend (TestState *state,
y * QUAD_WIDTH,
x * QUAD_WIDTH + QUAD_WIDTH,
y * QUAD_WIDTH + QUAD_WIDTH);
cogl_material_unref (material);
cogl_handle_unref (material);
/* See what we got... */
@ -247,8 +247,8 @@ test_tex_combine (TestState *state,
y * QUAD_WIDTH,
x * QUAD_WIDTH + QUAD_WIDTH,
y * QUAD_WIDTH + QUAD_WIDTH);
cogl_material_unref (material);
cogl_handle_unref (material);
cogl_handle_unref (tex0);
cogl_handle_unref (tex1);