Commit bbc83d33 authored by Michael Natterer's avatar Michael Natterer 😴

gimp_drawable_fs_update() takes a GimpLayer, not a GimpDrawable

parent 44be1b5d
......@@ -1899,7 +1899,7 @@ gimp_drawable_attach_floating_sel (GimpDrawable *drawable,
G_CALLBACK (gimp_drawable_fs_update),
drawable);
gimp_drawable_fs_update (GIMP_DRAWABLE (floating_sel),
gimp_drawable_fs_update (floating_sel,
0, 0,
gimp_item_get_width (GIMP_ITEM (floating_sel)),
gimp_item_get_height (GIMP_ITEM (floating_sel)),
......@@ -1925,7 +1925,7 @@ gimp_drawable_detach_floating_sel (GimpDrawable *drawable,
gimp_drawable_fs_update,
drawable);
gimp_drawable_fs_update (GIMP_DRAWABLE (floating_sel),
gimp_drawable_fs_update (floating_sel,
0, 0,
gimp_item_get_width (GIMP_ITEM (floating_sel)),
gimp_item_get_height (GIMP_ITEM (floating_sel)),
......
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