diff options
| author | Alexander Valavanis <valavanisalex@gmail.com> | 2019-01-27 10:43:00 +0000 |
|---|---|---|
| committer | Alexander Valavanis <valavanisalex@gmail.com> | 2019-01-27 10:43:00 +0000 |
| commit | 1affd93524f68e914bb84390fc9f29ce45ee518c (patch) | |
| tree | d2670eb16494a7ba68278014d164503c8bfff2bc /src/widgets/toolbox.cpp | |
| parent | Merge branch 'master' of gitlab.com:inkscape/inkscape (diff) | |
| download | inkscape-1affd93524f68e914bb84390fc9f29ce45ee518c.tar.gz inkscape-1affd93524f68e914bb84390fc9f29ce45ee518c.zip | |
toolbox - add comment
Diffstat (limited to 'src/widgets/toolbox.cpp')
| -rw-r--r-- | src/widgets/toolbox.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/widgets/toolbox.cpp b/src/widgets/toolbox.cpp index 2487cc534..bc05cad60 100644 --- a/src/widgets/toolbox.cpp +++ b/src/widgets/toolbox.cpp @@ -658,6 +658,12 @@ EgeAdjustmentAction * create_adjustment_action( gchar const *name, ege_adjustment_action_set_descriptions( act, descrLabels, descrValues, descrCount ); } + // The EgeAdjustmentAction class uses this to create a data member + // with the specified name, that simply points to the object itself. + // It appears to only be used by the DesktopWidget to find the named + // object + // + // TODO: Get rid of this and look up widgets by name instead. if ( altx && altx_mark ) { g_object_set( G_OBJECT(act), "self-id", altx_mark, NULL ); } |
