summaryrefslogtreecommitdiffstats
path: root/mono/DBus.cs
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2003-07-03 01:48:31 +0000
committerHavoc Pennington <hp@redhat.com>2003-07-03 01:48:31 +0000
commita7560f456754bcebda988b0bf2cecc319bb61c3d (patch)
tree3ae799317c519805c9394cd0998b56dcd76b2dc9 /mono/DBus.cs
parent23c9bbf77f49aec7d61590d399d0423fe44dd3b3 (diff)
2003-06-29 Havoc Pennington <hp@pobox.com>dbus-object-names-branchpoint
* mono/Test.cs (class Test): fire up a main loop and run it * mono/DBus.cs (DBus): don't g_thread_init since it can only be done once, the app has to do it 2003-06-26 Havoc Pennington <hp@pobox.com> * mono/Connection.cs: set up connection with the glib main loop
Diffstat (limited to 'mono/DBus.cs')
-rw-r--r--mono/DBus.cs9
1 files changed, 0 insertions, 9 deletions
diff --git a/mono/DBus.cs b/mono/DBus.cs
index f6f8b003..377af742 100644
--- a/mono/DBus.cs
+++ b/mono/DBus.cs
@@ -15,19 +15,10 @@ namespace DBus {
internal const string GThreadname = "libgthread-2.0.so.0";
internal static void Init () {
- if (!initialized) {
- initialized = true;
- g_thread_init (IntPtr.Zero);
dbus_gthread_init ();
- }
}
-
- private static bool initialized = false;
[DllImport (DBus.Internals.DBusGLibname, EntryPoint="dbus_gthread_init")]
private extern static void dbus_gthread_init ();
-
- [DllImport (DBus.Internals.GThreadname, EntryPoint="g_thread_init")]
- private extern static void g_thread_init (IntPtr vtable);
}
}