diff options
Diffstat (limited to 'mono/DBus.cs')
-rw-r--r-- | mono/DBus.cs | 9 |
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); } } |