[Gtk-sharp-list] The ObjectManager namespace
Mike Kestner
mkestner at novell.com
Thu Feb 9 10:42:24 EST 2006
On Thu, 2006-02-09 at 11:57 +0100, Mario Sánchez wrote:
> private static void GenerateMapper (DirectoryInfo dir_info,
> GenerationInfo gen_info)
> {
> StreamWriter sw = gen_info.OpenStream ("ObjectManager");
> sw.WriteLine ("namespace GtkSharp." + Studlify
> (dir_info.assembly_name) + " {");
> sw.WriteLine ();
> sw.WriteLine ("\tpublic class ObjectManager {");
> [...]
This is an artifact of an early development decision to work around a
naming collision. Unfortunately, it made it out into the stable
releases, and is therefore probably not fixable in GAPI itself without
breaking API compatibility.
I wish we didn't need those methods to be public at all, but they are a
wart we must live with.
My suggestion for your project is to either run a sed script after
generation to remove the "GtkSharp." from the file, or just check the
generated files into your repo and hand edit it.
--
Mike Kestner <mkestner at novell.com>
More information about the Gtk-sharp-list
mailing list