summaryrefslogtreecommitdiff
path: root/atk/atkrelation.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@gnome.org>2007-03-22 10:47:41 +0000
committerHarry Lu <haip@src.gnome.org>2007-03-22 10:47:41 +0000
commit8546161068a5178383628b09fb77dcc13be54871 (patch)
tree6e4b4eb6f2664ca081d316e5f241f8916b048e0f /atk/atkrelation.c
parent1e4cea686e22b4539cecca8b94baf1a6512c3e7f (diff)
downloadatk-8546161068a5178383628b09fb77dcc13be54871.tar.gz
Fix for #382328. add missing const. ditto. ditto.
2007-03-22 Christian Persch <chpe@gnome.org> Fix for #382328. * atk/atkrelation.c: (atk_relation_type_get_name): add missing const. * atk/atkstate.c: (atk_state_type_get_name): ditto. * atk/atktext.c: (atk_text_attribute_get_name): ditto. svn path=/trunk/; revision=1164
Diffstat (limited to 'atk/atkrelation.c')
-rwxr-xr-xatk/atkrelation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/atk/atkrelation.c b/atk/atkrelation.c
index bb5442d..92000c9 100755
--- a/atk/atkrelation.c
+++ b/atk/atkrelation.c
@@ -135,7 +135,7 @@ atk_relation_type_get_name (AtkRelationType type)
{
GTypeClass *type_class;
GEnumValue *value;
- gchar *name = NULL;
+ const gchar *name = NULL;
type_class = g_type_class_ref (ATK_TYPE_RELATION_TYPE);
g_return_val_if_fail (G_IS_ENUM_CLASS (type_class), NULL);