Use 'out' instead of ref.
svn path=/trunk/gtk-sharp/; revision=10194
This commit is contained in:
parent
4e19d181c9
commit
56711895f9
1 changed files with 3 additions and 3 deletions
|
@ -9,9 +9,9 @@
|
||||||
/// <remarks> Returns the size of the Drawble </remarks>
|
/// <remarks> Returns the size of the Drawble </remarks>
|
||||||
public System.Drawing.Size Size {
|
public System.Drawing.Size Size {
|
||||||
get {
|
get {
|
||||||
int x, y;
|
int x, y;
|
||||||
GetSize(ref x, ref y);
|
GetSize (out x, out y);
|
||||||
return new System.Drawing.Size(x, y);
|
return new System.Drawing.Size (x, y);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue