From baf04be1ea2755aba0b576ae54ecda08d3ec4e0b Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Tue, 22 Mar 2011 10:42:30 -0500 Subject: Making the environments a list of strings --- libindicator/indicator-object.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libindicator/indicator-object.h') diff --git a/libindicator/indicator-object.h b/libindicator/indicator-object.h index 67a3bda..3320b95 100644 --- a/libindicator/indicator-object.h +++ b/libindicator/indicator-object.h @@ -179,6 +179,9 @@ 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); + G_END_DECLS #endif -- cgit v1.2.3 From 8673e8f7e9f681902155fa0306a1f2a0dc26fc7a Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Tue, 22 Mar 2011 10:46:53 -0500 Subject: Getting some stub functions in --- libindicator/indicator-object.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libindicator/indicator-object.h') 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 -- cgit v1.2.3 From a995a11447ed9bf880d129c3e03fbce5395fbb74 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Tue, 22 Mar 2011 10:57:30 -0500 Subject: Adding a nice little checking function --- libindicator/indicator-object.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libindicator/indicator-object.h') diff --git a/libindicator/indicator-object.h b/libindicator/indicator-object.h index 221f399..aa15c79 100644 --- a/libindicator/indicator-object.h +++ b/libindicator/indicator-object.h @@ -181,6 +181,7 @@ void indicator_object_entry_close (IndicatorObject * io, IndicatorObjectEntry void indicator_object_set_environment (IndicatorObject * io, const GStrv env); const GStrv indicator_object_get_environment (IndicatorObject * io); +gboolean indicator_object_check_environment (IndicatorObject * io, const gchar * env); G_END_DECLS -- cgit v1.2.3