cinnamon-settings-daemon: Remove unused patch.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
Willy Sudiarto Raharjo 2019-07-10 18:59:45 +07:00
parent c93efa538d
commit 3e1b4902de
No known key found for this signature in database
GPG key ID: 887B8374D7333381

View file

@ -1,28 +0,0 @@
From a3b1e3af333c34d19e288cd77a208440f0fe6820 Mon Sep 17 00:00:00 2001
From: Michael Webster <miketwebster@gmail.com>
Date: Sun, 30 Jun 2019 18:44:10 -0400
Subject: [PATCH] csd-power-manager.c: Define UP_DEVICE_LEVEL_NONE for
ourselves if it's missing. UpDeviceLevel was new in 0.99.0.
related commit in cinnamon: linuxmint/cinnamon@4d1da807ee6e73
Fixes #258
---
plugins/power/csd-power-manager.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/plugins/power/csd-power-manager.c b/plugins/power/csd-power-manager.c
index 9ca0852..fae6510 100644
--- a/plugins/power/csd-power-manager.c
+++ b/plugins/power/csd-power-manager.c
@@ -4414,6 +4414,10 @@ csd_power_manager_finalize (GObject *object)
G_OBJECT_CLASS (csd_power_manager_parent_class)->finalize (object);
}
+#if !UP_CHECK_VERSION(0,99,0)
+#define UP_DEVICE_LEVEL_NONE 1
+#endif
+
static GVariant *
device_to_variant_blob (UpDevice *device)
{