Skip to content

Commit

Permalink
Kill libglibsharpglue.
Browse files Browse the repository at this point in the history
* configure.ac: remove glib/glue/Makefile expansion
* glib/Makefile.am: remove glue SUBDIR
* glib/Thread.cs: move to non-glue supported check
* glib/glue: kill
  • Loading branch information
mkestner committed Jan 8, 2011
1 parent 3e0df87 commit ea7c52b
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 72 deletions.
1 change: 0 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,6 @@ generator/gapi3-codegen
glib/Makefile
glib/glib-sharp-3.0.pc
glib/glib-sharp.dll.config
glib/glue/Makefile
gio/Makefile
gio/gio-sharp-3.0.pc
gio/gio-sharp.dll.config
Expand Down
2 changes: 1 addition & 1 deletion glib/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SUBDIRS = glue
SUBDIRS =

TARGET = $(ASSEMBLY)
ASSEMBLY = $(ASSEMBLY_NAME).dll
Expand Down
6 changes: 3 additions & 3 deletions glib/Thread.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ public static void Init ()
g_thread_init (IntPtr.Zero);
}

[DllImport("glibsharpglue-3")]
static extern bool glibsharp_g_thread_supported ();
[DllImport ("libgthread-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool g_thread_get_initialized ();

public static bool Supported
{
get {
return glibsharp_g_thread_supported ();
return g_thread_get_initialized ();
}
}
}
Expand Down
19 changes: 0 additions & 19 deletions glib/glue/Makefile.am

This file was deleted.

32 changes: 0 additions & 32 deletions glib/glue/thread.c

This file was deleted.

16 changes: 0 additions & 16 deletions glib/glue/win32dll.c

This file was deleted.

0 comments on commit ea7c52b

Please sign in to comment.