+2006-12-07 Alexander Olk <alex.olk@googlemail.com>
+
+ * 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 <toshok@ximian.com>
[ you had to know this was coming after that last commit...]
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";
[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)]