From: Alexander Olk Date: Thu, 7 Dec 2006 12:05:55 +0000 (-0000) Subject: 2006-12-07 Alexander Olk X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=91d8c7a8fd89fb1ddb31925d48f5f060e466e2b8;p=mono.git 2006-12-07 Alexander Olk * MimeIcon.cs: gdk_pixbuf_save_to_buffer is part of libgdk-pixbuf, not libgdk (though it makes me wonder why I didn't have any problems) svn path=/trunk/mcs/; revision=69177 --- diff --git a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog index 88d78d47042..66b53f71433 100644 --- a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog +++ b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog @@ -1,3 +1,9 @@ +2006-12-07 Alexander Olk + + * MimeIcon.cs: gdk_pixbuf_save_to_buffer is part of libgdk-pixbuf, + not libgdk (though it makes me wonder why I didn't have any + problems) + 2006-12-07 Chris Toshok [ you had to know this was coming after that last commit...] diff --git a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MimeIcon.cs b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MimeIcon.cs index 9d48e4d9725..522293b0fb4 100644 --- a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MimeIcon.cs +++ b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MimeIcon.cs @@ -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)]