[atkmm] Fix some comments
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [atkmm] Fix some comments
- Date: Sun, 1 Nov 2020 12:03:01 +0000 (UTC)
commit 74b6cf7f17a65193205f12b955cf2e2cab5fba0a
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date: Sun Nov 1 12:50:25 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 | 10 ++++------
atk/src/relation.ccg | 4 ----
2 files changed, 4 insertions(+), 10 deletions(-)
---
diff --git a/atk/src/editabletext.hg b/atk/src/editabletext.hg
index 9e18af8..770486b 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
{
diff --git a/atk/src/relation.ccg b/atk/src/relation.ccg
index a7c170e..70665be 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
@@ -27,7 +24,6 @@ using Type = Atk::Relation::Type;
namespace Atk
{
-//TODO: Implement this with the new GValue array thingy. See bug #74246.
Relation::Relation(const std::vector<Glib::RefPtr<Atk::Object>>& targets,
Relation::Type relationship)
:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]