summaryrefslogtreecommitdiffstats
path: root/python/dbus_glib_bindings.pyx
diff options
context:
space:
mode:
Diffstat (limited to 'python/dbus_glib_bindings.pyx')
-rw-r--r--python/dbus_glib_bindings.pyx17
1 files changed, 0 insertions, 17 deletions
diff --git a/python/dbus_glib_bindings.pyx b/python/dbus_glib_bindings.pyx
deleted file mode 100644
index 3e2e33bd..00000000
--- a/python/dbus_glib_bindings.pyx
+++ /dev/null
@@ -1,17 +0,0 @@
-cimport dbus_bindings
-import dbus_bindings
-
-cdef extern from "dbus-glib.h":
- ctypedef struct GMainContext
- cdef void dbus_g_thread_init ()
-
-cdef extern from "dbus-glib-lowlevel.h":
- cdef void dbus_connection_setup_with_g_main (dbus_bindings.DBusConnection *connection,
- GMainContext *context)
-def setup_with_g_main(conn):
- cdef dbus_bindings.Connection connection
- connection = conn
- dbus_connection_setup_with_g_main(connection._get_conn(), NULL)
-
-def gthreads_init ():
- dbus_g_thread_init ()