[Gtk-sharp-list] wird extra line

Mike Kestner mkestner@speakeasy.net
06 Jun 2003 16:44:33 -0500


On Thu, 2003-06-05 at 15:03, Martin Willemoes Hansen wrote:

> public static new uint GType {
>      get {
>            uint raw_ret = gtk_tree_view_get_type();
>            uint ret = raw_ret;
>            return ret;
>      }
> }
> 
> Why is there the 3 lines instead of just: 
> return gtk_tree_view_get_type(); ?

Probably an artifact of having to cast the raw_ret when working with
other property types. Not worth worrying about in this case, since GType
is a really low traffic property.

Mike