summarylogtreecommitdiffstats
path: root/0001-Remove-call-to-g_type_init.patch
diff options
context:
space:
mode:
authorshtrom2014-02-18 02:05:55 +0000
committershtrom2014-02-18 02:05:55 +0000
commita1c39a5841c53d5cf00b87d478af293bd369b70e (patch)
tree4e0f8c7d51b0261b91802178a7654de880284c6c /0001-Remove-call-to-g_type_init.patch
parentfb4ec52c3fbbb3e0a8f1ee680117e4f638b8d49d (diff)
downloadaur-a1c39a5841c53d5cf00b87d478af293bd369b70e.tar.gz
[mbm-gps*] Bumps.
git-svn-id: svn+ssh://scm.narf.ssji.net/svn/archlinux-packages@354 df209809-8e4a-0410-9a64-c169741eb0fc
Diffstat (limited to '0001-Remove-call-to-g_type_init.patch')
-rw-r--r--0001-Remove-call-to-g_type_init.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/0001-Remove-call-to-g_type_init.patch b/0001-Remove-call-to-g_type_init.patch
new file mode 100644
index 000000000000..17218f983aab
--- /dev/null
+++ b/0001-Remove-call-to-g_type_init.patch
@@ -0,0 +1,40 @@
+From 059c735433eeef93c59e8e5923218349fa6da9ee Mon Sep 17 00:00:00 2001
+From: "Frederik \"Freso\" S. Olesen" <freso.dk@gmail.com>
+Date: Sat, 15 Feb 2014 12:23:28 +0100
+Subject: [PATCH] Remove call to g_type_init.
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+This is exactly the same as Olivier Mehani's patch for mbm-gpsd, that had this
+commit message:
+"""
+From [0]:
+
+“g_type_init has been deprecated since version 2.36 and should not be
+used in newly-written code. the type system is now initialised
+automatically”
+
+[0] https://developer.gnome.org/gobject/unstable/gobject-Type-Information.html#g-type-init
+"""
+
+Signed-off-by: Frederik "Freso" S. Olesen <freso.dk@gmail.com>
+---
+ src/gps_control.c | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/src/gps_control.c b/src/gps_control.c
+index bfd1202..cfde6ab 100644
+--- a/src/gps_control.c
++++ b/src/gps_control.c
+@@ -311,8 +311,6 @@ void dbus_connect (DBUS_Connection * conn)
+ {
+ GError *error;
+
+- g_type_init ();
+-
+ error = NULL;
+ conn->connection = dbus_g_bus_get (DBUS_BUS_SYSTEM, &error);
+ if (conn->connection == NULL) {
+--
+1.8.5.5