2002-09-01 Gonzalo Paniagua Javier <gonzalo@gnome-db.org>

* glib/ListBase.cs: fixed compilation (the base class must be at least
	as accesible as the derived ones).

svn path=/trunk/gtk-sharp/; revision=7169
This commit is contained in:
Gonzalo Paniagua Javier 2002-09-01 10:40:24 +00:00
parent 285bb09060
commit 31fe10076e
2 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2002-09-01 Gonzalo Paniagua Javier <gonzalo@gnome-db.org>
* glib/ListBase.cs: fixed compilation (the base class must be at least
as accesible as the derived ones).
2002-08-31 Rodrigo Moya <rodrigo@ximian.com>
* api/gda-api.xml: new file for the libgda API.

View File

@ -18,7 +18,7 @@ namespace GLib {
/// Base class for GList and GSList.
/// </remarks>
internal abstract class ListBase : IDisposable, ICollection, GLib.IWrapper, ICloneable {
public abstract class ListBase : IDisposable, ICollection, GLib.IWrapper, ICloneable {
private IntPtr list_ptr = IntPtr.Zero;
private int length = -1;
@ -30,13 +30,17 @@ namespace GLib {
abstract internal int Length (IntPtr list);
abstract internal void Free (IntPtr list);
protected ListBase (IntPtr list, Type element_type)
private ListBase ()
{
}
internal ListBase (IntPtr list, Type element_type)
{
list_ptr = list;
this.element_type = element_type;
}
protected ListBase (IntPtr list)
internal ListBase (IntPtr list)
{
list_ptr = list;
}