summaryrefslogtreecommitdiff
path: root/atk
diff options
context:
space:
mode:
authorPadraig O'Briain <padraig.obriain@sun.com>2004-05-11 08:03:41 +0000
committerPadraig O'Briain <padraigo@src.gnome.org>2004-05-11 08:03:41 +0000
commitd672c7b17482bb4fcb5d0dc61dc26268e1f69509 (patch)
treea79f2d2c04333d250ce2be8f2d1f4152bf6fed24 /atk
parent4fdfd397b8eb724706394ec448da9b6a98b7d8c6 (diff)
downloadatk-d672c7b17482bb4fcb5d0dc61dc26268e1f69509.tar.gz
Make extra_roles static.
2004-05-11 Padraig O'Briain <padraig.obriain@sun.com> * atk/atkobject.c: Make extra_roles static. * atk/atkrelation.c: Make extra_names static. Fixes bug #142234. * atk/atkstate.h: Add clarification of state ATK_STATE_ENABLED to documentation.
Diffstat (limited to 'atk')
-rwxr-xr-xatk/atkobject.c2
-rwxr-xr-xatk/atkrelation.c2
-rwxr-xr-xatk/atkstate.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/atk/atkobject.c b/atk/atkobject.c
index 9b6982c..1643125 100755
--- a/atk/atkobject.c
+++ b/atk/atkobject.c
@@ -34,7 +34,7 @@
#include "atk-enum-types.h"
#include "atkintl.h"
-GPtrArray *extra_roles = NULL;
+static GPtrArray *extra_roles = NULL;
enum
{
diff --git a/atk/atkrelation.c b/atk/atkrelation.c
index 8c8cda2..6ed728e 100755
--- a/atk/atkrelation.c
+++ b/atk/atkrelation.c
@@ -31,7 +31,7 @@ enum {
PROP_LAST
};
-GPtrArray *extra_names = NULL;
+static GPtrArray *extra_names = NULL;
static gpointer parent_class = NULL;
diff --git a/atk/atkstate.h b/atk/atkstate.h
index 3950651..3b9957e 100755
--- a/atk/atkstate.h
+++ b/atk/atkstate.h
@@ -35,7 +35,7 @@ extern "C" {
*@ATK_STATE_CHECKED: Indicates this object is currently checked
*@ATK_STATE_DEFUNCT: Indicates the user interface object corresponding to this object no longer exists
*@ATK_STATE_EDITABLE: Indicates the user can change the contents of this object
- *@ATK_STATE_ENABLED: Indicates that this object is enabled
+ *@ATK_STATE_ENABLED: Indicates that this object is enabled. An inconsistent GtkToggleButton is an example of an object which is sensitive but not enabled.
*@ATK_STATE_EXPANDABLE: Indicates this object allows progressive disclosure of its children
*@ATK_STATE_EXPANDED: Indicates this object its expanded
*@ATK_STATE_FOCUSABLE: Indicates this object can accept keyboard focus, which means all events resulting from typing on the keyboard will normally be passed to it when it has focus