cleanup: Drop empty vfuncs overrides
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3209>
This commit is contained in:

committed by
Marge Bot

parent
7d8d7c89d4
commit
b004d1c577
@ -724,13 +724,6 @@ meta_eis_client_init (MetaEisClient *meta_eis_client)
|
||||
{
|
||||
}
|
||||
|
||||
static void
|
||||
meta_eis_client_constructed (GObject *object)
|
||||
{
|
||||
if (G_OBJECT_CLASS (meta_eis_client_parent_class)->constructed)
|
||||
G_OBJECT_CLASS (meta_eis_client_parent_class)->constructed (object);
|
||||
}
|
||||
|
||||
static void
|
||||
meta_eis_client_finalize (GObject *object)
|
||||
{
|
||||
@ -749,6 +742,5 @@ meta_eis_client_class_init (MetaEisClientClass *klass)
|
||||
{
|
||||
GObjectClass *object_class = G_OBJECT_CLASS (klass);
|
||||
|
||||
object_class->constructed = meta_eis_client_constructed;
|
||||
object_class->finalize = meta_eis_client_finalize;
|
||||
}
|
||||
|
@ -297,19 +297,9 @@ meta_eis_new (MetaBackend *backend)
|
||||
static void
|
||||
meta_eis_init (MetaEis *meta_eis)
|
||||
{
|
||||
}
|
||||
|
||||
static void
|
||||
meta_eis_constructed (GObject *object)
|
||||
{
|
||||
MetaEis *meta_eis = META_EIS (object);
|
||||
|
||||
meta_eis->eis_clients = g_hash_table_new_full (g_direct_hash, g_direct_equal,
|
||||
(GDestroyNotify) eis_client_unref,
|
||||
(GDestroyNotify) g_object_unref);
|
||||
|
||||
if (G_OBJECT_CLASS (meta_eis_parent_class)->constructed)
|
||||
G_OBJECT_CLASS (meta_eis_parent_class)->constructed (object);
|
||||
}
|
||||
|
||||
static void
|
||||
@ -329,6 +319,5 @@ meta_eis_class_init (MetaEisClass *klass)
|
||||
{
|
||||
GObjectClass *object_class = G_OBJECT_CLASS (klass);
|
||||
|
||||
object_class->constructed = meta_eis_constructed;
|
||||
object_class->finalize = meta_eis_finalize;
|
||||
}
|
||||
|
@ -505,11 +505,6 @@ meta_kms_finalize (GObject *object)
|
||||
G_OBJECT_CLASS (meta_kms_parent_class)->finalize (object);
|
||||
}
|
||||
|
||||
static void
|
||||
meta_kms_constructed (GObject *object)
|
||||
{
|
||||
}
|
||||
|
||||
static void
|
||||
meta_kms_init (MetaKms *kms)
|
||||
{
|
||||
@ -523,7 +518,6 @@ meta_kms_class_init (MetaKmsClass *klass)
|
||||
MetaThreadClass *thread_class = META_THREAD_CLASS (klass);
|
||||
|
||||
object_class->finalize = meta_kms_finalize;
|
||||
object_class->constructed = meta_kms_constructed;
|
||||
|
||||
signals[RESOURCES_CHANGED] =
|
||||
g_signal_new ("resources-changed",
|
||||
|
Reference in New Issue
Block a user