summaryrefslogtreecommitdiff
path: root/extra/gconf-perl/disable-orbit.patch
blob: da526ec2ef55e42f9dae90054b27fbb5f199cbb3 (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
Description: Disable gconf_engine_key_is_writable
 This symbol is not available in libgconf when it is configured without
 ORBit support, which is currently the case in Debian.
Author: Colin Watson <cjwatson@ubuntu.com>
Bug-Debian: http://bugs.debian.org/649055
Forwarded: no
Last-Update: 2011-11-17

Index: b/xs/GConfEngine.xs
===================================================================
--- a/xs/GConfEngine.xs
+++ b/xs/GConfEngine.xs
@@ -350,6 +350,8 @@
 	if (err)
 		gperl_croak_gerror (NULL, err);
 
+#if 0 /* requires gconf to be configured with ORBit support */
+
 ##gboolean gconf_engine_key_is_writable  (GConfEngine *conf,
 ##                                        const gchar *key,
 ##                                        GError     **err);
@@ -366,6 +368,8 @@
     OUTPUT:
         RETVAL
 
+#endif
+
 guint
 gconf_engine_notify_add (engine, namespace_section, func, data=NULL)
 	GConfEngine * engine