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:
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user