aboutsummaryrefslogtreecommitdiff
path: root/libindicator
diff options
context:
space:
mode:
authorSebastien Bacher <seb128@ubuntu.com>2012-02-23 12:26:17 +0100
committerSebastien Bacher <seb128@ubuntu.com>2012-02-23 12:26:17 +0100
commitcfa1adf52f305134dd83fe4b861b9cd71f416c07 (patch)
tree8e444547e0fea473cf80a1f89ea1475a18a563e4 /libindicator
parentf8e24aeac440743247ede915a6d255b36197a9f4 (diff)
parent169093d37a32b8019211dd998a6b1ec2df68e450 (diff)
downloadlibayatana-indicator-cfa1adf52f305134dd83fe4b861b9cd71f416c07.tar.gz
libayatana-indicator-cfa1adf52f305134dd83fe4b861b9cd71f416c07.tar.bz2
libayatana-indicator-cfa1adf52f305134dd83fe4b861b9cd71f416c07.zip
Prepared upstream tree for merging into target branch.
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