summaryrefslogtreecommitdiff
path: root/x11-wm/mutter/files/3.24.4-gudev-232.patch
blob: 5808e977c73c65fccb0db02badaca2571be036de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
From 361bf847af82c7dca097302fe64c575079280c9c Mon Sep 17 00:00:00 2001
From: Bastien Nocera <hadess@hadess.net>
Date: Fri, 1 Sep 2017 02:06:38 +0200
Subject: build: Require libgudev >= 232

And remove the g_autoptr implementations in mutter itself.

https://bugzilla.gnome.org/show_bug.cgi?id=760670

Gentoo: stripped configure.ac part to avoid autoreconf
---
 configure.ac                        | 4 ++--
 src/backends/native/meta-launcher.c | 4 ----
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/src/backends/native/meta-launcher.c b/src/backends/native/meta-launcher.c
index 90b4b98..eb35f88 100644
--- a/src/backends/native/meta-launcher.c
+++ b/src/backends/native/meta-launcher.c
@@ -49,10 +49,6 @@
 
 #define DRM_CARD_UDEV_DEVICE_TYPE "drm_minor"
 
-G_DEFINE_AUTOPTR_CLEANUP_FUNC(GUdevDevice, g_object_unref)
-G_DEFINE_AUTOPTR_CLEANUP_FUNC(GUdevClient, g_object_unref)
-G_DEFINE_AUTOPTR_CLEANUP_FUNC(GUdevEnumerator, g_object_unref)
-
 struct _MetaLauncher
 {
   Login1Session *session_proxy;
-- 
cgit v0.12