2003-05-27 Rachel Hestilow <rachel@nullenvoid.com>

* gconf/GConf/ChangeSet.cs, Client.cs: Change SetValue
	from protected to internal, as it references an internal type.
	* gconf/GConf/ClientBase.cs: The same; additionally
	remove some commented-out code. Change Initialize from
	protected to internal.

svn path=/trunk/gtk-sharp/; revision=14922
This commit is contained in:
Rachel Hestilow 2003-05-27 06:27:26 +00:00
parent 4faf8b6b74
commit 0b60ffe89f
4 changed files with 12 additions and 24 deletions

View file

@ -1,3 +1,11 @@
2003-05-27 Rachel Hestilow <rachel@nullenvoid.com>
* gconf/GConf/ChangeSet.cs, Client.cs: Change SetValue
from protected to internal, as it references an internal type.
* gconf/GConf/ClientBase.cs: The same; additionally
remove some commented-out code. Change Initialize from
protected to internal.
2003-05-22 Rachel Hestilow <rachel@nullenvoid.com>
* glib/ManagedValue.cs, glib/Value.cs: A few old-style

View file

@ -36,7 +36,7 @@ namespace GConf
[DllImport("gconf-2")]
static extern void gconf_change_set_set (IntPtr cs, string key, IntPtr val);
protected override void SetValue (string key, Value val)
internal override void SetValue (string key, Value val)
{
gconf_change_set_set (Raw, key, val.Handle);
}

View file

@ -28,7 +28,7 @@ namespace GConf
[DllImport("gconf-2")]
static extern void gconf_client_set (IntPtr client, string key, IntPtr val, out IntPtr err);
protected override void SetValue (string key, Value val)
internal override void SetValue (string key, Value val)
{
IntPtr err;
gconf_client_set (Raw, key, val.Handle, out err);

View file

@ -6,28 +6,8 @@ namespace GConf
public abstract class ClientBase
{
public abstract object Get (string key);
protected abstract void SetValue (string key, Value val);
/*
public void Set (string key, string val)
{
Set (key, new Value (val));
}
internal abstract void SetValue (string key, Value val);
public void Set (string key, int val)
{
Set (key, new Value (val));
}
public void Set (string key, double val)
{
Set (key, new Value (val));
}
public void Set (string key, bool val)
{
Set (key, new Value (val));
}
*/
public void Set (string key, object val)
{
SetValue (key, new Value (val));
@ -39,7 +19,7 @@ namespace GConf
[DllImport("gconf-2")]
static extern bool gconf_init (int argc, IntPtr argv, out IntPtr err);
protected void Initialize ()
internal void Initialize ()
{
if (!gconf_is_initialized ())
{