X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=mcs%2Fclass%2FManaged.Windows.Forms%2FSystem.Windows.Forms.X11Internal%2FXlib.cs;h=c8ae33282af19cd2036a8cc15e3a9f80d2096a72;hb=68069f056621ebdafa21ae4e75e75f6e83b7202a;hp=e4ff5ce3d187515f214e5c83d96851d59fb4ecda;hpb=d49951ccf584ba637afb1dab7fff714478e3174d;p=mono.git diff --git a/mcs/class/Managed.Windows.Forms/System.Windows.Forms.X11Internal/Xlib.cs b/mcs/class/Managed.Windows.Forms/System.Windows.Forms.X11Internal/Xlib.cs index e4ff5ce3d18..c8ae33282af 100644 --- a/mcs/class/Managed.Windows.Forms/System.Windows.Forms.X11Internal/Xlib.cs +++ b/mcs/class/Managed.Windows.Forms/System.Windows.Forms.X11Internal/Xlib.cs @@ -29,7 +29,6 @@ namespace System.Windows.Forms.X11Internal { internal class Xlib { const string libX11 = "X11"; - const string gdiplus = "gdiplus"; [DllImport (libX11)] public extern static IntPtr XOpenDisplay(IntPtr display); @@ -215,9 +214,6 @@ namespace System.Windows.Forms.X11Internal { [DllImport (libX11)] public extern static int XDeleteProperty(IntPtr display, IntPtr window, IntPtr property); - [DllImport (gdiplus)] - public extern static bool GetFontMetrics(IntPtr graphicsObject, IntPtr nativeObject, out int ascent, out int descent); - // Drawing [DllImport (libX11)] public extern static IntPtr XCreateGC(IntPtr display, IntPtr window, IntPtr valuemask, ref XGCValues values);