[Gtk-sharp-list] Patch for gtk-api.xml

Mike Kestner mkestner@speakeasy.net
Wed, 27 Aug 2003 21:31:50 -0500


Hi Todd,

On Wed, 2003-08-27 at 08:13, Todd Berman wrote:
> This adds the Weight property to TextTag
> 
> It has it as a int instead of a Pango.Weight, because I was unable to get
> that to actually work properly (code generated fine, but did not work
> properly).

A few things.  First, your attachment shows up as:

Content-Type: application/ms-tnef; name="winmail.dat"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="winmail.dat"

Please attach patches as plain text.

Second, TextTag doesn't have a Weight property any more. It was removed
in 2.2 and we are now tracking the 2.2 API.

Third, (guessing on this, since I couldn't read the patch) the subject
looks like you patched gtk-api.xml directly.  We don't hand edit those
files, since they are generated by the parser from source.  Any hand
edits would be lost the next time somebody runs the parser and checks in
the resulting file.  We alter those files via metadata rules which are
stored in the sources dir in cvs.

FWIW, I think what you are looking for is the TextTag.FontDesc, which
allows you to set a weight.    

-- 
Mike Kestner <mkestner@speakeasy.net>