From 1affd93524f68e914bb84390fc9f29ce45ee518c Mon Sep 17 00:00:00 2001 From: Alexander Valavanis Date: Sun, 27 Jan 2019 10:43:00 +0000 Subject: toolbox - add comment --- src/widgets/toolbox.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/widgets/toolbox.cpp') 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 ); } -- cgit v1.2.3