summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <monsta@inbox.ru>2016-01-09 23:32:12 +0300
committermonsta <monsta@inbox.ru>2016-01-09 23:33:02 +0300
commit59d03639118c148bdb14d1da6417066b2567ed23 (patch)
tree2bd2353611cd199839b8cd22fc7e0ac5d4e2b12c
parente2ffc36ed17c3a459c4245f05c653547e01fbd07 (diff)
downloadmate-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
-rw-r--r--plugins/clipboard/msd-clipboard-manager.c65
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));