diff options
author | Ted Gould <ted@gould.cx> | 2010-09-16 16:09:26 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-09-16 16:09:26 -0500 |
commit | daffbe647964a04f1f8da94f12cfd9746ad7483b (patch) | |
tree | 4bf5a959282eabef2979fad1ccfec5c7bb9fe8b9 /libindicator | |
parent | 64db4d0d0dd0eb801b0dd2214d7723ba10f4ba81 (diff) | |
download | libayatana-indicator-daffbe647964a04f1f8da94f12cfd9746ad7483b.tar.gz libayatana-indicator-daffbe647964a04f1f8da94f12cfd9746ad7483b.tar.bz2 libayatana-indicator-daffbe647964a04f1f8da94f12cfd9746ad7483b.zip |
Fleshing out the entry activate function
Diffstat (limited to 'libindicator')
-rw-r--r-- | libindicator/indicator-object.c | 7 |
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; } + |