Use 'out' instead of ref.

svn path=/trunk/gtk-sharp/; revision=10194
This commit is contained in:
Duncan Mak 2003-01-06 01:07:10 +00:00
parent 4e19d181c9
commit 56711895f9

View File

@ -9,9 +9,9 @@
/// <remarks> Returns the size of the Drawble </remarks>
public System.Drawing.Size Size {
get {
int x, y;
GetSize(ref x, ref y);
return new System.Drawing.Size(x, y);
int x, y;
GetSize (out x, out y);
return new System.Drawing.Size (x, y);
}
}