diff --git a/ChangeLog b/ChangeLog index c20521198..b5f653608 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2003-02-08 Radek Doulik + + * gconf/GConf/Client.cs: added SyggestSync method + 2003-02-07 Peter Williams * glue/Makefile.am (libgtksharpglue_la_LIBADD): Set this so diff --git a/gconf/GConf/Client.cs b/gconf/GConf/Client.cs index 72226f883..2ac9a2036 100644 --- a/gconf/GConf/Client.cs +++ b/gconf/GConf/Client.cs @@ -94,6 +94,17 @@ namespace GConf gconf_client_notify_remove (Raw, cnxn); callbacks.Remove (notify); } + + [DllImport("gconf-2")] + static extern void gconf_client_suggest_sync (IntPtr client, out IntPtr err); + + public void SuggestSync () + { + IntPtr err; + gconf_client_suggest_sync (Raw, out err); + if (err != IntPtr.Zero) + throw new GLib.GException (err); + } } }