2007-01-07 Jonathan Pobst <monkey@jpobst.com>
[mono.git] / mcs / class / Managed.Windows.Forms / System.Windows.Forms / MimeIcon.cs
index 9d48e4d9725526fdb5f6a38405db887fc4db2013..395a1caa127da0d8146af5a95634bd652d076677 100644 (file)
 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
-// Copyright (c) 2005 Novell, Inc. (http://www.novell.com)
+// Copyright (c) 2006 Alexander Olk
 //
 // Authors:
 //
-//  Alexander Olk      xenomorph2@onlinehome.de
+//  Alexander Olk      alex.olk@googlemail.com
 //
 
 // use
@@ -385,6 +385,7 @@ namespace System.Windows.Forms
        internal class GnomeUtil
        {
                const string libgdk = "libgdk-x11-2.0.so.0";
+               const string libgdk_pixbuf = "libgdk_pixbuf-2.0.so.0";
                const string libgtk = "libgtk-x11-2.0.so.0";
                const string libglib = "libglib-2.0.so.0";
                const string libgobject = "libgobject-2.0.so.0";
@@ -394,7 +395,7 @@ namespace System.Windows.Forms
                [DllImport(librsvg)]
                static extern IntPtr rsvg_pixbuf_from_file_at_size (string file_name, int  width, int  height, out IntPtr error);
                
-               [DllImport(libgdk)]
+               [DllImport(libgdk_pixbuf)]
                static extern bool gdk_pixbuf_save_to_buffer (IntPtr pixbuf, out IntPtr buffer, out UIntPtr buffer_size, string type, out IntPtr error, IntPtr option_dummy);
                
                [DllImport(libglib)]