dbus/python dbus_glib_bindings.pyx,1.1,1.2
John Palmieri
johnp at freedesktop.org
Tue Aug 23 10:44:01 PDT 2005
Update of /cvs/dbus/dbus/python
In directory gabe:/tmp/cvs-serv1148/python
Modified Files:
dbus_glib_bindings.pyx
Log Message:
* 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.
Index: dbus_glib_bindings.pyx
===================================================================
RCS file: /cvs/dbus/dbus/python/dbus_glib_bindings.pyx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- dbus_glib_bindings.pyx 12 Jul 2005 18:16:06 -0000 1.1
+++ dbus_glib_bindings.pyx 23 Aug 2005 17:43:59 -0000 1.2
@@ -1,15 +1,13 @@
-cdef extern from "dbus.h":
- ctypedef struct DBusConnection
+cimport dbus_bindings
+import dbus_bindings
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-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
More information about the dbus-commit
mailing list