From 975ee36fd391d7b9c75289dc306267b5acbd3882 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Wed, 22 Feb 2012 12:18:01 -0600 Subject: Removing unenforcable consts --- libindicator/indicator-object.c | 4 ++-- libindicator/indicator-object.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libindicator/indicator-object.c b/libindicator/indicator-object.c index a348d9a..17a6d1d 100644 --- a/libindicator/indicator-object.c +++ b/libindicator/indicator-object.c @@ -795,7 +795,7 @@ indicator_object_entry_was_added (IndicatorObject * io, IndicatorObjectEntry * e in different hosts if need be. */ void -indicator_object_set_environment (IndicatorObject * io, const GStrv env) +indicator_object_set_environment (IndicatorObject * io, GStrv env) { /* FIXME: should this be a property? */ g_return_if_fail(INDICATOR_IS_OBJECT(io)); @@ -820,7 +820,7 @@ indicator_object_set_environment (IndicatorObject * io, const GStrv env) Return value: (transfer none): Gets the list of strings that represent the environment or NULL if none were given. */ -const GStrv +GStrv indicator_object_get_environment (IndicatorObject * io) { g_return_val_if_fail(INDICATOR_IS_OBJECT(io), NULL); diff --git a/libindicator/indicator-object.h b/libindicator/indicator-object.h index 2d69b1b..d8551f9 100644 --- a/libindicator/indicator-object.h +++ b/libindicator/indicator-object.h @@ -203,8 +203,8 @@ void indicator_object_entry_activate (IndicatorObject * io, IndicatorObjectEn void indicator_object_entry_activate_window (IndicatorObject * io, IndicatorObjectEntry * entry, guint windowid, guint timestamp); void indicator_object_entry_close (IndicatorObject * io, IndicatorObjectEntry * entry, guint timestamp); -void indicator_object_set_environment (IndicatorObject * io, const GStrv env); -const GStrv indicator_object_get_environment (IndicatorObject * io); +void indicator_object_set_environment (IndicatorObject * io, GStrv env); +GStrv indicator_object_get_environment (IndicatorObject * io); gboolean indicator_object_check_environment (IndicatorObject * io, const gchar * env); G_END_DECLS -- cgit v1.2.3