http://developer.gnome.org/doc/API/2.0/gtk/GtkTextMark.html#id3010285
This function looks like a good candidate for a mandatory argument and
an optional argument: the name can be NULL, so should be optional in
Ruby constructor, and there is no real good default for the
left_gravity parameter, so it makes sense to have it mandatory.
However, in the C form the optional argument comes first (name) and
the mandatory comes second (left_gravity). So it might be confusing to
reverse the parameters order in the Ruby constructor (first: mandatory
left_gravity; second: optional name).
WDYT?
–
Guillaume C. - http://zarb.org/~gc/
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/