diff options
author | monsta <[email protected]> | 2016-01-09 23:32:12 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-01-09 23:33:02 +0300 |
commit | 59d03639118c148bdb14d1da6417066b2567ed23 (patch) | |
tree | 2bd2353611cd199839b8cd22fc7e0ac5d4e2b12c /plugins/clipboard | |
parent | e2ffc36ed17c3a459c4245f05c653547e01fbd07 (diff) | |
download | mate-settings-daemon-59d03639118c148bdb14d1da6417066b2567ed23.tar.bz2 mate-settings-daemon-59d03639118c148bdb14d1da6417066b2567ed23.tar.xz |
clipboard: remove useless code
it either does nothing or only calls parent functions
taken from
https://git.gnome.org/browse/gnome-settings-daemon/commit?id=ee0fea3c9437a41c4fda6a020422f01bf98feecd
https://git.gnome.org/browse/gnome-settings-daemon/commit?id=48242d3397773e8d05aae43617cfc2deb0fdb31e
Diffstat (limited to 'plugins/clipboard')
-rw-r--r-- | plugins/clipboard/msd-clipboard-manager.c | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/plugins/clipboard/msd-clipboard-manager.c b/plugins/clipboard/msd-clipboard-manager.c index 770cfe7..f2d7e62 100644 --- a/plugins/clipboard/msd-clipboard-manager.c +++ b/plugins/clipboard/msd-clipboard-manager.c @@ -968,75 +968,10 @@ msd_clipboard_manager_stop (MsdClipboardManager *manager) } static void -msd_clipboard_manager_set_property (GObject *object, - guint prop_id, - const GValue *value, - GParamSpec *pspec) -{ - MsdClipboardManager *self; - - self = MSD_CLIPBOARD_MANAGER (object); - - switch (prop_id) { - default: - G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); - break; - } -} - -static void -msd_clipboard_manager_get_property (GObject *object, - guint prop_id, - GValue *value, - GParamSpec *pspec) -{ - MsdClipboardManager *self; - - self = MSD_CLIPBOARD_MANAGER (object); - - switch (prop_id) { - default: - G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); - break; - } -} - -static GObject * -msd_clipboard_manager_constructor (GType type, - guint n_construct_properties, - GObjectConstructParam *construct_properties) -{ - MsdClipboardManager *clipboard_manager; - MsdClipboardManagerClass *klass; - - klass = MSD_CLIPBOARD_MANAGER_CLASS (g_type_class_peek (MSD_TYPE_CLIPBOARD_MANAGER)); - - clipboard_manager = MSD_CLIPBOARD_MANAGER (G_OBJECT_CLASS (msd_clipboard_manager_parent_class)->constructor (type, - n_construct_properties, - construct_properties)); - - return G_OBJECT (clipboard_manager); -} - -static void -msd_clipboard_manager_dispose (GObject *object) -{ - MsdClipboardManager *clipboard_manager; - - clipboard_manager = MSD_CLIPBOARD_MANAGER (object); - - G_OBJECT_CLASS (msd_clipboard_manager_parent_class)->dispose (object); -} - -static void msd_clipboard_manager_class_init (MsdClipboardManagerClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); - object_class->get_property = msd_clipboard_manager_get_property; - object_class->set_property = msd_clipboard_manager_set_property; - object_class->constructor = msd_clipboard_manager_constructor; - object_class->dispose = msd_clipboard_manager_dispose; object_class->finalize = msd_clipboard_manager_finalize; g_type_class_add_private (klass, sizeof (MsdClipboardManagerPrivate)); |