diff options
author | Ted Gould <ted@gould.cx> | 2011-03-22 10:46:53 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2011-03-22 10:46:53 -0500 |
commit | 8673e8f7e9f681902155fa0306a1f2a0dc26fc7a (patch) | |
tree | f7dd401172ce26494436bed4caf8955384ec1d76 /libindicator | |
parent | baf04be1ea2755aba0b576ae54ecda08d3ec4e0b (diff) | |
download | libayatana-indicator-8673e8f7e9f681902155fa0306a1f2a0dc26fc7a.tar.gz libayatana-indicator-8673e8f7e9f681902155fa0306a1f2a0dc26fc7a.tar.bz2 libayatana-indicator-8673e8f7e9f681902155fa0306a1f2a0dc26fc7a.zip |
Getting some stub functions in
Diffstat (limited to 'libindicator')
-rw-r--r-- | libindicator/indicator-object.c | 34 | ||||
-rw-r--r-- | libindicator/indicator-object.h | 4 |
2 files changed, 36 insertions, 2 deletions
diff --git a/libindicator/indicator-object.c b/libindicator/indicator-object.c index 73c1ca7..71d0c94 100644 --- a/libindicator/indicator-object.c +++ b/libindicator/indicator-object.c @@ -571,3 +571,37 @@ indicator_object_entry_close (IndicatorObject * io, IndicatorObjectEntry * entry return; } + +/** + indicator_object_set_environment: + @io: #IndicatorObject to set on + @env: List of enviroment names to use + + Sets the names of the environment that the indicator is being + loaded into. This allows for indicators to behave differently + in different hosts if need be. +*/ +void +indicator_object_set_environment (IndicatorObject * io, const GStrv env) +{ + + return; +} + +/** + indicator_object_get_environment: + @io: #IndicatorObject to get the environment from + + Gets the list of environment strings that this object is + placed into. + + Return value: (transfer none): Gets the list of strings that + represent the environment or NULL if none were given. +*/ +const GStrv +indicator_object_get_environment (IndicatorObject * io) +{ + + + return; +} diff --git a/libindicator/indicator-object.h b/libindicator/indicator-object.h index 3320b95..221f399 100644 --- a/libindicator/indicator-object.h +++ b/libindicator/indicator-object.h @@ -179,8 +179,8 @@ guint indicator_object_get_show_now (IndicatorObject * io, IndicatorObjectEntr void indicator_object_entry_activate (IndicatorObject * io, IndicatorObjectEntry * entry, 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, const GStrv env); +const GStrv indicator_object_get_environment (IndicatorObject * io); G_END_DECLS |