Commit 2f2c8410 authored by Jürg Billeter's avatar Jürg Billeter Committed by Jürg Billeter

Add dbus_g_connection_get_connection and dbus_connection_get_g_connection

2008-10-23  Jürg Billeter  <j@bitron.ch>

	* vapi/dbus-glib-1.vapi:

	Add dbus_g_connection_get_connection and
	dbus_connection_get_g_connection bindings, patch by Jan Luebbe

svn path=/trunk/; revision=1880
parent ac262ed6
2008-10-23 Jürg Billeter <j@bitron.ch>
* vapi/dbus-glib-1.vapi:
Add dbus_g_connection_get_connection and
dbus_connection_get_g_connection bindings, patch by Jan Luebbe
2008-10-23 Jürg Billeter <j@bitron.ch>
* vala/valaparser.vala:
......
......@@ -31,6 +31,7 @@ Gabriel Falcão
Hans Vercammen
Jaap A. Haitsma
Jamie McCracken
Jan Luebbe
Jan Rosczak
Jared Moore
Johannes Schmid
......
......@@ -38,6 +38,8 @@ namespace DBus {
public class RawConnection {
[CCode (cname = "dbus_connection_setup_with_g_main")]
public void setup_with_main (GLib.MainContext? context = null);
[CCode (cname = "dbus_connection_get_g_connection")]
public Connection get_g_connection ();
}
[CCode (cname = "DBusError", cprefix = "dbus_error_")]
......@@ -102,6 +104,8 @@ namespace DBus {
public void register_object (string at_path, GLib.Object object);
[CCode (cname = "dbus_g_connection_lookup_g_object")]
public weak GLib.Object lookup_object (string at_path);
[CCode (cname = "dbus_g_connection_get_connection")]
public RawConnection get_connection ();
}
[CCode (cname = "DBusGProxy", lower_case_csuffix = "g_proxy")]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment