diff --git a/ChangeLog b/ChangeLog index 727e3afcc..141a3ce14 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-09-01 Gonzalo Paniagua Javier + + * glib/ListBase.cs: fixed compilation (the base class must be at least + as accesible as the derived ones). + 2002-08-31 Rodrigo Moya * api/gda-api.xml: new file for the libgda API. diff --git a/glib/ListBase.cs b/glib/ListBase.cs index 890dbb71a..2effd4935 100644 --- a/glib/ListBase.cs +++ b/glib/ListBase.cs @@ -18,7 +18,7 @@ namespace GLib { /// Base class for GList and GSList. /// - 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; }