Commit c0008db2 authored by xan@webkit.org's avatar xan@webkit.org

2009-08-25 Xan Lopez <xlopez@igalia.com>

        Reviewed by Jan Alonzo.

        https://bugs.webkit.org/show_bug.cgi?id=28690
        Build failure in webkitgtk+-1.1.3

        Do not use deprecated function to unref a pixbuf.

        * platform/gtk/CursorGtk.cpp:
        (WebCore::Cursor::Cursor):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47742 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 17077804
2009-08-25 Xan Lopez <xlopez@igalia.com>
Reviewed by Jan Alonzo.
https://bugs.webkit.org/show_bug.cgi?id=28690
Build failure in webkitgtk+-1.1.3
Do not use deprecated function to unref a pixbuf.
* platform/gtk/CursorGtk.cpp:
(WebCore::Cursor::Cursor):
2009-08-24 Hironori Bono <hbono@chromium.org>
Reviewed by Adam Barth.
......@@ -67,7 +67,7 @@ Cursor::Cursor(Image* image, const IntPoint& hotSpot)
{
GdkPixbuf* pixbuf = image->getGdkPixbuf();
m_impl = gdk_cursor_new_from_pixbuf(gdk_display_get_default(), pixbuf, hotSpot.x(), hotSpot.y());
gdk_pixbuf_unref(pixbuf);
g_object_unref(pixbuf);
}
Cursor::~Cursor()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment