Author: nigel
Date: 2005-05-24 19:40:39 -0400 (Tue, 24 May 2005)
New Revision: 44951
Modified:
trunk/efl-sharp/libs/efl-sharp/src/lib/ewl/ewl_object.cs
Log:
clean up functions
Modified: trunk/efl-sharp/libs/efl-sharp/src/lib/ewl/ewl_object.cs
===================================================================
--- trunk/efl-sharp/libs/efl-sharp/src/lib/ewl/ewl_object.cs 2005-05-24
23:36:36 UTC (rev 44950)
+++ trunk/efl-sharp/libs/efl-sharp/src/lib/ewl/ewl_object.cs 2005-05-24
23:40:39 UTC (rev 44951)
@@ -36,9 +36,8 @@
[DllImport(Library)]
static extern void ewl_object_current_geometry_get(IntPtr obj,
out int x, out int y, out int w, out int h);
- public void Geometry(out x, out y, out w, out h) {
+ public void Geometry(out int x, out int y, out int w, out int
h) {
- int x = 0, y = 0, w = 0, h = 0;
ewl_object_current_geometry_get(Raw, out x , out y, out
w, out h);
}
@@ -103,9 +102,7 @@
static extern void ewl_object_current_size_get(IntPtr obj, out
int w, out int h);
public int Size(out int w, out int h) {
- int w = 0, h = 0;
- ewl_object_current_size_get(Raw, out w, out h);
-
+ ewl_object_current_size_get(Raw, out w, out h);
}
[DllImport(Library)]
@@ -120,7 +117,6 @@
static extern void ewl_object_preferred_size_get(IntPtr obj,
out int w, out int h);
public int PreferredSize(out int w, out int h) {
- int w = 0, h = 0;
ewl_object_preferred_size_get(Raw, out w, out h);
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches