[mutter] clutter-tests: Fix macro definitions
- From: Jonas Ådahl <jadahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] clutter-tests: Fix macro definitions
- Date: Mon, 22 Jul 2019 09:56:33 +0000 (UTC)
commit c755fb69954aa1ec2b81d9ee2f1531351f4f4dce
Author: Florian Müllner <fmuellner gnome org>
Date: Sun Jul 21 13:15:41 2019 +0200
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
clutter/tests/interactive/test-cogl-offscreen.c | 2 +-
clutter/tests/interactive/test-cogl-tex-convert.c | 2 +-
clutter/tests/interactive/test-cogl-tex-polygon.c | 2 +-
clutter/tests/interactive/test-cogl-tex-tile.c | 2 +-
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), \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]