aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-09-16 16:09:26 -0500
committerTed Gould <ted@gould.cx>2010-09-16 16:09:26 -0500
commitdaffbe647964a04f1f8da94f12cfd9746ad7483b (patch)
tree4bf5a959282eabef2979fad1ccfec5c7bb9fe8b9
parent64db4d0d0dd0eb801b0dd2214d7723ba10f4ba81 (diff)
downloadlibayatana-indicator-daffbe647964a04f1f8da94f12cfd9746ad7483b.tar.gz
libayatana-indicator-daffbe647964a04f1f8da94f12cfd9746ad7483b.tar.bz2
libayatana-indicator-daffbe647964a04f1f8da94f12cfd9746ad7483b.zip
Fleshing out the entry activate function
-rw-r--r--libindicator/indicator-object.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/libindicator/indicator-object.c b/libindicator/indicator-object.c
index ecd0966..41484a6 100644
--- a/libindicator/indicator-object.c
+++ b/libindicator/indicator-object.c
@@ -447,8 +447,13 @@ indicator_object_get_location (IndicatorObject * io, IndicatorObjectEntry * entr
void
indicator_object_entry_activate (IndicatorObject * io, IndicatorObjectEntry * entry, guint timestamp)
{
+ g_return_if_fail(INDICATOR_IS_OBJECT(io));
+ IndicatorObjectClass * class = INDICATOR_OBJECT_GET_CLASS(io);
-
+ if (class->entry_activate != NULL) {
+ return class->entry_activate(io, entry, timestamp);
+ }
return;
}
+