Linux: Fix compile error due to gdk_pixbuf_unref deprecation (issue #593).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@634 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
parent
0b003c55a9
commit
df4544e949
|
@ -98,7 +98,7 @@ void WebDragSource::StartDragging(const WebDropData& drop_data,
|
|||
const SkBitmap& bitmap = image.getSkBitmap();
|
||||
GdkPixbuf* pixbuf = gfx::GdkPixbufFromSkBitmap(&bitmap);
|
||||
gtk_drag_set_icon_pixbuf(context, pixbuf, image_offset.x, image_offset.y);
|
||||
gdk_pixbuf_unref(pixbuf);
|
||||
g_object_unref(pixbuf);
|
||||
} else {
|
||||
gtk_drag_set_icon_default(context);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue