[atkmm/atkmm-2-28] Fix some comments



commit 1184c20892d04e53a5e5ab015dbb66359d8e4c98
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date:   Sun Nov 1 13:00:15 2020 +0100

    Fix some comments
    
    * atk/src/editabletext.hg: Improve the description of the relation
    between Text and EditableText.
    * atk/src/relation.ccg: Remove an obsolete TODO comment.

 atk/src/editabletext.hg | 11 ++++-------
 atk/src/relation.ccg    |  5 -----
 2 files changed, 4 insertions(+), 12 deletions(-)
---
diff --git a/atk/src/editabletext.hg b/atk/src/editabletext.hg
index 879e391..1939b23 100644
--- a/atk/src/editabletext.hg
+++ b/atk/src/editabletext.hg
@@ -1,5 +1,3 @@
-/* $Id: editabletext.hg,v 1.2 2004/01/02 09:56:43 murrayc Exp $ */
-
 /* Copyright (C) 2002 The gtkmm Development Team
  *
  * This library is free software; you can redistribute it and/or
@@ -33,12 +31,12 @@ extern "C"
 namespace Atk
 {
 
-//TODO: I see no evidence that AtkEditableText is actually a subclass of AtkText, as the C docs say. murrayc.
-/* The ATK interface implemented by components containing user-editable text content.
+/** The ATK interface implemented by components containing user-editable text content.
+ *
  * This should be implemented by UI components which contain text which the user can edit, via the 
Atk::Object
  * corresponding to that component (see Atk::Object).
- * EditableText is a subclass of AtkText, and as such, an object which implements EditableText is by 
definition
- * an Atk::Text implementor as well. 
+ *
+ * An object which implements %EditableText shall also implement Atk::Text.
  */
 class ATKMM_API EditableText : public Glib::Interface
 {
@@ -67,4 +65,3 @@ protected:
 };
 
 } // namespace Atk
-
diff --git a/atk/src/relation.ccg b/atk/src/relation.ccg
index 16b90b0..3f20f3c 100644
--- a/atk/src/relation.ccg
+++ b/atk/src/relation.ccg
@@ -1,6 +1,3 @@
-// -*- c++ -*-
-/* $Id: relation.ccg,v 1.2 2003/09/30 14:28:09 murrayc Exp $ */
-
 /* Copyright 1998-2002 The gtkmm Development Team
  *
  * This library is free software; you can redistribute it and/or
@@ -26,7 +23,6 @@
 namespace Atk
 {
 
-//TODO: Implement this with the new GValue array thingy. See bug #74246.
 Relation::Relation(const Glib::ArrayHandle< Glib::RefPtr<Atk::Object> >& targets,
                    RelationType relationship)
 :
@@ -51,4 +47,3 @@ Glib::ArrayHandle< Glib::RefPtr<const Atk::Object> > Relation::get_target() cons
 }
 
 } // namespace Atk
-


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]