~noskcaj/gnome-control-center/3.14

« back to all changes in this revision

Viewing changes to debian/patches/revert-bluetooth-BlueZ5-interface.patch

  • Committer: Martin Pitt
  • Author(s): Tim Lunn
  • Date: 2014-09-30 12:51:59 UTC
  • mfrom: (646.1.2 g-c-c)
  • Revision ID: martin.pitt@canonical.com-20140930125159-busza4a4mli50axi
merge with 1:3.12.1-5 from Debian

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
From d15a9709f2782dc36b8d86905507a014922f01ed Mon Sep 17 00:00:00 2001
 
2
From: Tim Lunn <tim@feathertop.org>
 
3
Date: Wed, 23 Oct 2013 07:39:24 +1100
 
4
Subject: [PATCH] Revert "Update adapter interface for BlueZ 5"
 
5
 
 
6
This reverts commit ac43647ac01cb990555c7b4ff7b8bf5fb8b17b83.
 
7
---
 
8
 panels/bluetooth/cc-bluetooth-panel.c | 7 ++-----
 
9
 1 file changed, 2 insertions(+), 5 deletions(-)
 
10
 
 
11
--- a/panels/bluetooth/cc-bluetooth-panel.c
 
12
+++ b/panels/bluetooth/cc-bluetooth-panel.c
 
13
@@ -43,9 +43,6 @@
 
14
 
 
15
 #define WID(s) GTK_WIDGET (gtk_builder_get_object (self->priv->builder, s))
 
16
 
 
17
-#define BLUEZ_SERVICE  "org.bluez"
 
18
-#define ADAPTER_IFACE  "org.bluez.Adapter1"
 
19
-
 
20
 #define KEYBOARD_PREFS         "keyboard"
 
21
 #define MOUSE_PREFS            "mouse"
 
22
 #define SOUND_PREFS            "sound"
 
23
@@ -675,9 +672,9 @@
 
24
        adapter_proxy = g_dbus_proxy_new_for_bus_sync (G_BUS_TYPE_SYSTEM,
 
25
                                                       G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES | G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START,
 
26
                                                       NULL,
 
27
-                                                      BLUEZ_SERVICE,
 
28
+                                                      "org.bluez",
 
29
                                                       adapter,
 
30
-                                                      ADAPTER_IFACE,
 
31
+                                                      "org.bluez.Adapter",
 
32
                                                       NULL,
 
33
                                                       &error);
 
34
        g_free (adapter);