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>
This commit is contained in:
Georges Basile Stavracas Neto 2022-03-31 11:40:17 -03:00
parent dbae8d7aa7
commit 9f3191fe9c
4 changed files with 0 additions and 28 deletions

View File

@ -86,12 +86,6 @@ test_coglbox_paint (ClutterActor *self,
cogl_object_unref (pipeline); cogl_object_unref (pipeline);
} }
static void
test_coglbox_finalize (GObject *object)
{
G_OBJECT_CLASS (test_coglbox_parent_class)->finalize (object);
}
static void static void
test_coglbox_dispose (GObject *object) test_coglbox_dispose (GObject *object)
{ {
@ -257,7 +251,6 @@ test_coglbox_class_init (TestCoglboxClass *klass)
GObjectClass *gobject_class = G_OBJECT_CLASS (klass); GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
ClutterActorClass *actor_class = CLUTTER_ACTOR_CLASS (klass); ClutterActorClass *actor_class = CLUTTER_ACTOR_CLASS (klass);
gobject_class->finalize = test_coglbox_finalize;
gobject_class->dispose = test_coglbox_dispose; gobject_class->dispose = test_coglbox_dispose;
actor_class->map = test_coglbox_map; actor_class->map = test_coglbox_map;

View File

@ -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 static void
test_coglbox_dispose (GObject *object) test_coglbox_dispose (GObject *object)
{ {
@ -150,7 +144,6 @@ test_coglbox_class_init (TestCoglboxClass *klass)
GObjectClass *gobject_class = G_OBJECT_CLASS (klass); GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
ClutterActorClass *actor_class = CLUTTER_ACTOR_CLASS (klass); ClutterActorClass *actor_class = CLUTTER_ACTOR_CLASS (klass);
gobject_class->finalize = test_coglbox_finalize;
gobject_class->dispose = test_coglbox_dispose; gobject_class->dispose = test_coglbox_dispose;
actor_class->paint = test_coglbox_paint; actor_class->paint = test_coglbox_paint;
} }

View File

@ -212,12 +212,6 @@ test_coglbox_paint (ClutterActor *self,
cogl_object_unref (pipeline); cogl_object_unref (pipeline);
} }
static void
test_coglbox_finalize (GObject *object)
{
G_OBJECT_CLASS (test_coglbox_parent_class)->finalize (object);
}
static void static void
test_coglbox_dispose (GObject *object) test_coglbox_dispose (GObject *object)
{ {
@ -281,7 +275,6 @@ test_coglbox_class_init (TestCoglboxClass *klass)
GObjectClass *gobject_class = G_OBJECT_CLASS (klass); GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
ClutterActorClass *actor_class = CLUTTER_ACTOR_CLASS (klass); ClutterActorClass *actor_class = CLUTTER_ACTOR_CLASS (klass);
gobject_class->finalize = test_coglbox_finalize;
gobject_class->dispose = test_coglbox_dispose; gobject_class->dispose = test_coglbox_dispose;
actor_class->paint = test_coglbox_paint; actor_class->paint = test_coglbox_paint;
} }

View File

@ -87,12 +87,6 @@ test_coglbox_paint (ClutterActor *self,
cogl_framebuffer_pop_matrix (framebuffer); cogl_framebuffer_pop_matrix (framebuffer);
} }
static void
test_coglbox_finalize (GObject *object)
{
G_OBJECT_CLASS (test_coglbox_parent_class)->finalize (object);
}
static void static void
test_coglbox_dispose (GObject *object) test_coglbox_dispose (GObject *object)
{ {
@ -122,7 +116,6 @@ test_coglbox_class_init (TestCoglboxClass *klass)
GObjectClass *gobject_class = G_OBJECT_CLASS (klass); GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
ClutterActorClass *actor_class = CLUTTER_ACTOR_CLASS (klass); ClutterActorClass *actor_class = CLUTTER_ACTOR_CLASS (klass);
gobject_class->finalize = test_coglbox_finalize;
gobject_class->dispose = test_coglbox_dispose; gobject_class->dispose = test_coglbox_dispose;
actor_class->paint = test_coglbox_paint; actor_class->paint = test_coglbox_paint;
} }