mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-24 00:05:38 +00:00
* generator/OpaqueGen.cs (Generate):
* generator/StructBase.cs (Generate): Add the [Obsolete] attribute to deprecated structs/boxeds/opaques too. (Affects Gdk.Font, Gtk.Arg, Gtk.ItemFactoryEntry, Gnome.IconData, and [in 2.6/2.8] Gnome.Vfs.MimeAction) svn path=/trunk/gtk-sharp/; revision=48288
This commit is contained in:
parent
35385da69b
commit
737a794d76
|
@ -1,3 +1,11 @@
|
|||
2005-08-11 Dan Winship <danw@novell.com>
|
||||
|
||||
* generator/OpaqueGen.cs (Generate):
|
||||
* generator/StructBase.cs (Generate): Add the [Obsolete] attribute
|
||||
to deprecated structs/boxeds/opaques too. (Affects Gdk.Font,
|
||||
Gtk.Arg, Gtk.ItemFactoryEntry, Gnome.IconData, and [in 2.6]
|
||||
Gnome.Vfs.MimeAction)
|
||||
|
||||
2005-08-09 Dan Winship <danw@novell.com>
|
||||
|
||||
* configure.in.in: kill off all gda/gnomedb references.
|
||||
|
|
|
@ -283,4 +283,9 @@
|
|||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
<Attributes>
|
||||
<Attribute>
|
||||
<AttributeName>System.Obsolete(Message=null, IsError=False)</AttributeName>
|
||||
</Attribute>
|
||||
</Attributes>
|
||||
</Type>
|
||||
|
|
|
@ -105,4 +105,9 @@
|
|||
</Member>
|
||||
|
||||
</Members>
|
||||
<Attributes>
|
||||
<Attribute>
|
||||
<AttributeName>System.Obsolete(Message=null, IsError=False)</AttributeName>
|
||||
</Attribute>
|
||||
</Attributes>
|
||||
</Type>
|
||||
|
|
|
@ -175,4 +175,9 @@
|
|||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
<Attributes>
|
||||
<Attribute>
|
||||
<AttributeName>System.Obsolete(Message=null, IsError=False)</AttributeName>
|
||||
</Attribute>
|
||||
</Attributes>
|
||||
</Type>
|
||||
|
|
|
@ -96,4 +96,9 @@
|
|||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
<Attributes>
|
||||
<Attribute>
|
||||
<AttributeName>System.Obsolete(Message=null, IsError=False)</AttributeName>
|
||||
</Attribute>
|
||||
</Attributes>
|
||||
</Type>
|
||||
|
|
|
@ -121,4 +121,9 @@
|
|||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
<Attributes>
|
||||
<Attribute>
|
||||
<AttributeName>System.Obsolete(Message=null, IsError=False)</AttributeName>
|
||||
</Attribute>
|
||||
</Attributes>
|
||||
</Type>
|
||||
|
|
|
@ -61,6 +61,8 @@ namespace GtkSharp.Generation {
|
|||
Method ref_, unref, dispose;
|
||||
GetSpecialMethods (out ref_, out unref, out dispose);
|
||||
|
||||
if (IsDeprecated)
|
||||
sw.WriteLine ("\t[Obsolete]");
|
||||
sw.Write ("\tpublic class " + Name);
|
||||
string cs_parent = table.GetCSType(Elem.GetAttribute("parent"));
|
||||
if (cs_parent != "")
|
||||
|
|
|
@ -162,6 +162,8 @@ namespace GtkSharp.Generation {
|
|||
sw.WriteLine ();
|
||||
|
||||
sw.WriteLine ("#region Autogenerated code");
|
||||
if (IsDeprecated)
|
||||
sw.WriteLine ("\t[Obsolete]");
|
||||
sw.WriteLine ("\t[StructLayout(LayoutKind.Sequential)]");
|
||||
sw.WriteLine ("\tpublic struct " + Name + " {");
|
||||
sw.WriteLine ();
|
||||
|
|
Loading…
Reference in a new issue