app: store the snap offsets in GimpToolWidget

Rename gimp_tool_widget_snap_offsets() to set_snap_offsets(),
and add gimp_tool_widget_get_snap_offsets().

Also rename gimp_tool_widget_status() to set_status(), and
add new function and signal set_status_coords().
This commit is contained in:
Michael Natterer
2017-06-24 21:09:18 +02:00
parent d089aa629b
commit 84e1f757ce
8 changed files with 127 additions and 38 deletions

View File

@ -963,12 +963,12 @@ gimp_tool_polygon_status_update (GimpToolPolygon *polygon,
if (status_text)
{
gimp_tool_widget_status (widget, status_text);
gimp_tool_widget_set_status (widget, status_text);
}
}
else
{
gimp_tool_widget_status (widget, NULL);
gimp_tool_widget_set_status (widget, NULL);
}
}