aboutsummaryrefslogtreecommitdiff
path: root/libindicator
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-02-22 12:18:01 -0600
committerTed Gould <ted@gould.cx>2012-02-22 12:18:01 -0600
commit975ee36fd391d7b9c75289dc306267b5acbd3882 (patch)
treed21764d85e69bbf2e14d44f098fb1117f3a91fd0 /libindicator
parent4621a452aaaa880586aa64cde1ccefa71404ad18 (diff)
downloadlibayatana-indicator-975ee36fd391d7b9c75289dc306267b5acbd3882.tar.gz
libayatana-indicator-975ee36fd391d7b9c75289dc306267b5acbd3882.tar.bz2
libayatana-indicator-975ee36fd391d7b9c75289dc306267b5acbd3882.zip
Removing unenforcable consts
Diffstat (limited to 'libindicator')
-rw-r--r--libindicator/indicator-object.c4
-rw-r--r--libindicator/indicator-object.h4
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