aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-01-14 10:07:43 +0100
committerTed Gould <ted@gould.cx>2012-01-14 10:07:43 +0100
commitb7c8a634f190e176b1d3b201ff08d861ba5e265b (patch)
treef4fc57e4839124bbfbee7bb93534c9c477ee22fb
parentefcb3e654caba19ade1dbe905eb9ae8526f08791 (diff)
downloadlibayatana-indicator-b7c8a634f190e176b1d3b201ff08d861ba5e265b.tar.gz
libayatana-indicator-b7c8a634f190e176b1d3b201ff08d861ba5e265b.tar.bz2
libayatana-indicator-b7c8a634f190e176b1d3b201ff08d861ba5e265b.zip
Mark the entry functions as called
-rw-r--r--tests/dummy-indicator-entry-func.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/dummy-indicator-entry-func.c b/tests/dummy-indicator-entry-func.c
index bccd818..96e5ad0 100644
--- a/tests/dummy-indicator-entry-func.c
+++ b/tests/dummy-indicator-entry-func.c
@@ -55,21 +55,24 @@ get_accessible_desc (IndicatorObject * io)
static void
entry_activate (IndicatorObject * io, IndicatorObjectEntry * entry, guint timestamp)
{
-
+ DummyIndicatorEntryFunc * self = DUMMY_INDICATOR_ENTRY_FUNC(io);
+ self->entry_activate_called = TRUE;
return;
}
static void
entry_activate_window (IndicatorObject * io, IndicatorObjectEntry * entry, guint windowid, guint timestamp)
{
-
+ DummyIndicatorEntryFunc * self = DUMMY_INDICATOR_ENTRY_FUNC(io);
+ self->entry_activate_window_called = TRUE;
return;
}
static void
entry_close (IndicatorObject * io, IndicatorObjectEntry * entry, guint timestamp)
{
-
+ DummyIndicatorEntryFunc * self = DUMMY_INDICATOR_ENTRY_FUNC(io);
+ self->entry_close_called = TRUE;
return;
}