Merge pull request #297 from ermshiperete/4959
[mono.git] / mcs / class / Managed.Windows.Forms / System.Windows.Forms.X11Internal / Xlib.cs
index e4ff5ce3d187515f214e5c83d96851d59fb4ecda..c8ae33282af19cd2036a8cc15e3a9f80d2096a72 100644 (file)
@@ -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);