diff options
author | monsta <[email protected]> | 2016-01-09 19:52:39 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-01-09 19:52:39 +0300 |
commit | cba3c74a79ae338dc4e8803b9c0aa72983512797 (patch) | |
tree | 7e6259b519995f19804884093bd5e86ff875a3e0 /plugins | |
parent | db2b4beff327dea6c933a01fc504cc35805c3ddc (diff) | |
download | mate-settings-daemon-cba3c74a79ae338dc4e8803b9c0aa72983512797.tar.bz2 mate-settings-daemon-cba3c74a79ae338dc4e8803b9c0aa72983512797.tar.xz |
sound: remove useless constructor function
it does nothing except for chaining up to parent code
taken from
https://git.gnome.org/browse/gnome-settings-daemon/commit?id=c2b32ad0641d28d6804b09680e8df22bf9bb7d7c
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/sound/msd-sound-manager.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/plugins/sound/msd-sound-manager.c b/plugins/sound/msd-sound-manager.c index 91c51b9..498d0ff 100644 --- a/plugins/sound/msd-sound-manager.c +++ b/plugins/sound/msd-sound-manager.c @@ -329,25 +329,6 @@ msd_sound_manager_stop (MsdSoundManager *manager) #endif } -static GObject * -msd_sound_manager_constructor ( - GType type, - guint n_construct_properties, - GObjectConstructParam *construct_properties) -{ - MsdSoundManager *m; - MsdSoundManagerClass *klass; - - klass = MSD_SOUND_MANAGER_CLASS (g_type_class_peek (MSD_TYPE_SOUND_MANAGER)); - - m = MSD_SOUND_MANAGER (G_OBJECT_CLASS (msd_sound_manager_parent_class)->constructor ( - type, - n_construct_properties, - construct_properties)); - - return G_OBJECT (m); -} - static void msd_sound_manager_dispose (GObject *object) { @@ -365,7 +346,6 @@ msd_sound_manager_class_init (MsdSoundManagerClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); - object_class->constructor = msd_sound_manager_constructor; object_class->dispose = msd_sound_manager_dispose; object_class->finalize = msd_sound_manager_finalize; |