aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-02-22 22:54:56 -0600
committerTed Gould <ted@gould.cx>2012-02-22 22:54:56 -0600
commitf29a1835f0538a677e3c64b0d3a448a6a503d63e (patch)
treed21764d85e69bbf2e14d44f098fb1117f3a91fd0
parent4621a452aaaa880586aa64cde1ccefa71404ad18 (diff)
parentfef88fa8ffcd354a83322bdacff23dfc12dd58f3 (diff)
downloadlibayatana-indicator-f29a1835f0538a677e3c64b0d3a448a6a503d63e.tar.gz
libayatana-indicator-f29a1835f0538a677e3c64b0d3a448a6a503d63e.tar.bz2
libayatana-indicator-f29a1835f0538a677e3c64b0d3a448a6a503d63e.zip
Remove unenforcable consts
-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