From 5ed25a7e5f115a71433f137905394ae6b119e450 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Wed, 7 May 2014 10:49:37 +0200 Subject: all: Remove IsDocked property Removes the deprecated (for not very long) property, before we do a 1.0 release. https://bugs.freedesktop.org/show_bug.cgi?id=78380 --- src/up-daemon.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/up-daemon.c') diff --git a/src/up-daemon.c b/src/up-daemon.c index 4a81800..c7fea62 100644 --- a/src/up-daemon.c +++ b/src/up-daemon.c @@ -49,7 +49,6 @@ enum PROP_ON_BATTERY, PROP_LID_IS_CLOSED, PROP_LID_IS_PRESENT, - PROP_IS_DOCKED, PROP_LAST }; @@ -1180,9 +1179,6 @@ up_daemon_get_property (GObject *object, guint prop_id, GValue *value, GParamSpe case PROP_LID_IS_PRESENT: g_value_set_boolean (value, priv->lid_is_present); break; - case PROP_IS_DOCKED: - g_value_set_boolean (value, FALSE); - break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; @@ -1233,14 +1229,6 @@ up_daemon_class_init (UpDaemonClass *klass) FALSE, G_PARAM_READABLE)); - g_object_class_install_property (object_class, - PROP_IS_DOCKED, - g_param_spec_boolean ("is-docked", - "Is docked", - "If this computer is docked", - FALSE, - G_PARAM_READABLE)); - g_object_class_install_property (object_class, PROP_ON_BATTERY, g_param_spec_boolean ("on-battery", -- cgit v1.2.1