mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-01 13:48:01 +02:00
* python/dbus_glib_bindings.pyx: reorder imports and c definitions
to fix some wranings. We now use dbus_bindings.DBusConnection instead of defining DBusConnection ourselves.
This commit is contained in:
parent
c7be77449d
commit
54988532f4
2 changed files with 13 additions and 9 deletions
|
|
@ -1,3 +1,9 @@
|
|||
2005-08-23 John (J5) Palmieri <johnp@redhat.com>
|
||||
|
||||
* python/dbus_glib_bindings.pyx: reorder imports and c definitions
|
||||
to fix some wranings. We now use dbus_bindings.DBusConnection instead
|
||||
of defining DBusConnection ourselves.
|
||||
|
||||
2005-08-18 John (J5) Palmieri <johnp@redhat.com>
|
||||
|
||||
* python/dbus.pth: New path file to fix up problems when installing
|
||||
|
|
|
|||
|
|
@ -1,15 +1,13 @@
|
|||
cdef extern from "dbus.h":
|
||||
ctypedef struct DBusConnection
|
||||
|
||||
cdef extern from "dbus-glib.h":
|
||||
ctypedef struct GMainContext
|
||||
cdef void dbus_connection_setup_with_g_main (DBusConnection *connection,
|
||||
GMainContext *context)
|
||||
cdef void dbus_g_thread_init ()
|
||||
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue