app: manage the transform tools' grid properties in GimpTransformTool
Simply use g_object_bind_property() to connect the grid properties of GimpTransformOoptions and GimpToolTransformGrid and remove all other grid property setting code.
This commit is contained in:
@ -84,9 +84,7 @@ GimpToolWidget * gimp_tool_transform_grid_new (GimpDisplayShell *shell,
|
||||
gdouble x1,
|
||||
gdouble y1,
|
||||
gdouble x2,
|
||||
gdouble y2,
|
||||
GimpGuidesType guide_type,
|
||||
gint n_guides);
|
||||
gdouble y2);
|
||||
|
||||
|
||||
#endif /* __GIMP_TOOL_TRANSFORM_GRID_H__ */
|
||||
|
Reference in New Issue
Block a user