[mutter] tests/interactive: Drop empty test_coglbox_finalize
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] tests/interactive: Drop empty test_coglbox_finalize
- Date: Wed, 1 Jun 2022 11:14:57 +0000 (UTC)
commit 9f3191fe9c7e082584186c79fcaa3ce63a1eaecc
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Thu Mar 31 11:40:17 2022 -0300
tests/interactive: Drop empty test_coglbox_finalize
All of them were devoid of code.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2355>
src/tests/clutter/interactive/test-cogl-offscreen.c | 7 -------
src/tests/clutter/interactive/test-cogl-tex-convert.c | 7 -------
src/tests/clutter/interactive/test-cogl-tex-polygon.c | 7 -------
src/tests/clutter/interactive/test-cogl-tex-tile.c | 7 -------
4 files changed, 28 deletions(-)
---
diff --git a/src/tests/clutter/interactive/test-cogl-offscreen.c
b/src/tests/clutter/interactive/test-cogl-offscreen.c
index 1c4645c75e..57a713bfaa 100644
--- a/src/tests/clutter/interactive/test-cogl-offscreen.c
+++ b/src/tests/clutter/interactive/test-cogl-offscreen.c
@@ -86,12 +86,6 @@ test_coglbox_paint (ClutterActor *self,
cogl_object_unref (pipeline);
}
-static void
-test_coglbox_finalize (GObject *object)
-{
- G_OBJECT_CLASS (test_coglbox_parent_class)->finalize (object);
-}
-
static void
test_coglbox_dispose (GObject *object)
{
@@ -257,7 +251,6 @@ test_coglbox_class_init (TestCoglboxClass *klass)
GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
ClutterActorClass *actor_class = CLUTTER_ACTOR_CLASS (klass);
- gobject_class->finalize = test_coglbox_finalize;
gobject_class->dispose = test_coglbox_dispose;
actor_class->map = test_coglbox_map;
diff --git a/src/tests/clutter/interactive/test-cogl-tex-convert.c
b/src/tests/clutter/interactive/test-cogl-tex-convert.c
index 77da67ab52..ca36178964 100644
--- a/src/tests/clutter/interactive/test-cogl-tex-convert.c
+++ b/src/tests/clutter/interactive/test-cogl-tex-convert.c
@@ -94,12 +94,6 @@ test_coglbox_paint (ClutterActor *self,
}
-static void
-test_coglbox_finalize (GObject *object)
-{
- G_OBJECT_CLASS (test_coglbox_parent_class)->finalize (object);
-}
-
static void
test_coglbox_dispose (GObject *object)
{
@@ -150,7 +144,6 @@ test_coglbox_class_init (TestCoglboxClass *klass)
GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
ClutterActorClass *actor_class = CLUTTER_ACTOR_CLASS (klass);
- gobject_class->finalize = test_coglbox_finalize;
gobject_class->dispose = test_coglbox_dispose;
actor_class->paint = test_coglbox_paint;
}
diff --git a/src/tests/clutter/interactive/test-cogl-tex-polygon.c
b/src/tests/clutter/interactive/test-cogl-tex-polygon.c
index 7226484b2f..842f5a94f7 100644
--- a/src/tests/clutter/interactive/test-cogl-tex-polygon.c
+++ b/src/tests/clutter/interactive/test-cogl-tex-polygon.c
@@ -212,12 +212,6 @@ test_coglbox_paint (ClutterActor *self,
cogl_object_unref (pipeline);
}
-static void
-test_coglbox_finalize (GObject *object)
-{
- G_OBJECT_CLASS (test_coglbox_parent_class)->finalize (object);
-}
-
static void
test_coglbox_dispose (GObject *object)
{
@@ -281,7 +275,6 @@ test_coglbox_class_init (TestCoglboxClass *klass)
GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
ClutterActorClass *actor_class = CLUTTER_ACTOR_CLASS (klass);
- gobject_class->finalize = test_coglbox_finalize;
gobject_class->dispose = test_coglbox_dispose;
actor_class->paint = test_coglbox_paint;
}
diff --git a/src/tests/clutter/interactive/test-cogl-tex-tile.c
b/src/tests/clutter/interactive/test-cogl-tex-tile.c
index 4c6b91d65c..95f5c48f97 100644
--- a/src/tests/clutter/interactive/test-cogl-tex-tile.c
+++ b/src/tests/clutter/interactive/test-cogl-tex-tile.c
@@ -87,12 +87,6 @@ test_coglbox_paint (ClutterActor *self,
cogl_framebuffer_pop_matrix (framebuffer);
}
-static void
-test_coglbox_finalize (GObject *object)
-{
- G_OBJECT_CLASS (test_coglbox_parent_class)->finalize (object);
-}
-
static void
test_coglbox_dispose (GObject *object)
{
@@ -122,7 +116,6 @@ test_coglbox_class_init (TestCoglboxClass *klass)
GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
ClutterActorClass *actor_class = CLUTTER_ACTOR_CLASS (klass);
- gobject_class->finalize = test_coglbox_finalize;
gobject_class->dispose = test_coglbox_dispose;
actor_class->paint = test_coglbox_paint;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]