summaryrefslogtreecommitdiff
path: root/clutter
diff options
context:
space:
mode:
authorFlorian Müllner <fmuellner@gnome.org>2019-07-21 13:15:41 +0200
committerJonas Ådahl <jadahl@gmail.com>2019-07-22 09:48:29 +0000
commitc755fb69954aa1ec2b81d9ee2f1531351f4f4dce (patch)
tree3c8581ea810509d07e8290d664c516b5f444c380 /clutter
parente9cc220c8e0fd6843d2e775d981d1b73322f2c30 (diff)
downloadmutter-c755fb69954aa1ec2b81d9ee2f1531351f4f4dce.tar.gz
clutter-tests: Fix macro definitions
FOO_OBJECT() macros should cast to the corresponding instance type, not the class. https://gitlab.gnome.org/GNOME/mutter/merge_requests/691
Diffstat (limited to 'clutter')
-rw-r--r--clutter/tests/interactive/test-cogl-offscreen.c2
-rw-r--r--clutter/tests/interactive/test-cogl-tex-convert.c2
-rw-r--r--clutter/tests/interactive/test-cogl-tex-polygon.c2
-rw-r--r--clutter/tests/interactive/test-cogl-tex-tile.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/clutter/tests/interactive/test-cogl-offscreen.c b/clutter/tests/interactive/test-cogl-offscreen.c
index 18469f11b..1f99daea6 100644
--- a/clutter/tests/interactive/test-cogl-offscreen.c
+++ b/clutter/tests/interactive/test-cogl-offscreen.c
@@ -13,7 +13,7 @@ G_BEGIN_DECLS
#define TEST_COGLBOX(obj) \
(G_TYPE_CHECK_INSTANCE_CAST ((obj), \
- TEST_TYPE_COGLBOX, TestCoglboxClass))
+ TEST_TYPE_COGLBOX, TestCoglbox))
#define TEST_COGLBOX_CLASS(klass) \
(G_TYPE_CHECK_CLASS_CAST ((klass), \
diff --git a/clutter/tests/interactive/test-cogl-tex-convert.c b/clutter/tests/interactive/test-cogl-tex-convert.c
index 819c02d20..32b752aec 100644
--- a/clutter/tests/interactive/test-cogl-tex-convert.c
+++ b/clutter/tests/interactive/test-cogl-tex-convert.c
@@ -13,7 +13,7 @@ G_BEGIN_DECLS
#define TEST_COGLBOX(obj) \
(G_TYPE_CHECK_INSTANCE_CAST ((obj), \
- TEST_TYPE_COGLBOX, TestCoglboxClass))
+ TEST_TYPE_COGLBOX, TestCoglbox))
#define TEST_COGLBOX_CLASS(klass) \
(G_TYPE_CHECK_CLASS_CAST ((klass), \
diff --git a/clutter/tests/interactive/test-cogl-tex-polygon.c b/clutter/tests/interactive/test-cogl-tex-polygon.c
index 79bb89f53..a8136e4a1 100644
--- a/clutter/tests/interactive/test-cogl-tex-polygon.c
+++ b/clutter/tests/interactive/test-cogl-tex-polygon.c
@@ -13,7 +13,7 @@ G_BEGIN_DECLS
#define TEST_COGLBOX(obj) \
(G_TYPE_CHECK_INSTANCE_CAST ((obj), \
- TEST_TYPE_COGLBOX, TestCoglboxClass))
+ TEST_TYPE_COGLBOX, TestCoglbox))
#define TEST_COGLBOX_CLASS(klass) \
(G_TYPE_CHECK_CLASS_CAST ((klass), \
diff --git a/clutter/tests/interactive/test-cogl-tex-tile.c b/clutter/tests/interactive/test-cogl-tex-tile.c
index e9e33339f..2f67db735 100644
--- a/clutter/tests/interactive/test-cogl-tex-tile.c
+++ b/clutter/tests/interactive/test-cogl-tex-tile.c
@@ -14,7 +14,7 @@ G_BEGIN_DECLS
#define TEST_COGLBOX(obj) \
(G_TYPE_CHECK_INSTANCE_CAST ((obj), \
- TEST_TYPE_COGLBOX, TestCoglboxClass))
+ TEST_TYPE_COGLBOX, TestCoglbox))
#define TEST_COGLBOX_CLASS(klass) \
(G_TYPE_CHECK_CLASS_CAST ((klass), \