diff options
author | monsta <[email protected]> | 2016-01-09 19:29:17 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-01-09 19:31:26 +0300 |
commit | 13cddd0100fa187dcb141071e2e3a220382eed1f (patch) | |
tree | f2e9be23fbf1bfe704f4d5846ebde0b67bced1c7 /plugins | |
parent | b3722fee9ec8c39294755b658314c6224a2a851d (diff) | |
download | mate-settings-daemon-13cddd0100fa187dcb141071e2e3a220382eed1f.tar.bz2 mate-settings-daemon-13cddd0100fa187dcb141071e2e3a220382eed1f.tar.xz |
xsettings: remove useless code
it either does nothing or only calls parent functions
taken from
https://git.gnome.org/browse/gnome-settings-daemon/commit?id=ae424dcc41e736d4882012367857a24686f282cb
https://git.gnome.org/browse/gnome-settings-daemon/commit?id=b8b9cff2c2a05468318b1c8e3d43e65f9c64a87c
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/xsettings/msd-xsettings-manager.c | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/plugins/xsettings/msd-xsettings-manager.c b/plugins/xsettings/msd-xsettings-manager.c index 6c635c4..835661a 100644 --- a/plugins/xsettings/msd-xsettings-manager.c +++ b/plugins/xsettings/msd-xsettings-manager.c @@ -759,75 +759,10 @@ mate_xsettings_manager_stop (MateXSettingsManager *manager) } static void -mate_xsettings_manager_set_property (GObject *object, - guint prop_id, - const GValue *value, - GParamSpec *pspec) -{ - MateXSettingsManager *self; - - self = MATE_XSETTINGS_MANAGER (object); - - switch (prop_id) { - default: - G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); - break; - } -} - -static void -mate_xsettings_manager_get_property (GObject *object, - guint prop_id, - GValue *value, - GParamSpec *pspec) -{ - MateXSettingsManager *self; - - self = MATE_XSETTINGS_MANAGER (object); - - switch (prop_id) { - default: - G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); - break; - } -} - -static GObject * -mate_xsettings_manager_constructor (GType type, - guint n_construct_properties, - GObjectConstructParam *construct_properties) -{ - MateXSettingsManager *xsettings_manager; - MateXSettingsManagerClass *klass; - - klass = MATE_XSETTINGS_MANAGER_CLASS (g_type_class_peek (MATE_TYPE_XSETTINGS_MANAGER)); - - xsettings_manager = MATE_XSETTINGS_MANAGER (G_OBJECT_CLASS (mate_xsettings_manager_parent_class)->constructor (type, - n_construct_properties, - construct_properties)); - - return G_OBJECT (xsettings_manager); -} - -static void -mate_xsettings_manager_dispose (GObject *object) -{ - MateXSettingsManager *xsettings_manager; - - xsettings_manager = MATE_XSETTINGS_MANAGER (object); - - G_OBJECT_CLASS (mate_xsettings_manager_parent_class)->dispose (object); -} - -static void mate_xsettings_manager_class_init (MateXSettingsManagerClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); - object_class->get_property = mate_xsettings_manager_get_property; - object_class->set_property = mate_xsettings_manager_set_property; - object_class->constructor = mate_xsettings_manager_constructor; - object_class->dispose = mate_xsettings_manager_dispose; object_class->finalize = mate_xsettings_manager_finalize; g_type_class_add_private (klass, sizeof (MateXSettingsManagerPrivate)); |