aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-01-13 17:00:47 +0100
committerTed Gould <ted@gould.cx>2012-01-13 17:00:47 +0100
commitefcb3e654caba19ade1dbe905eb9ae8526f08791 (patch)
tree2d5a4f711f015b9f5028ea01b09d3979a664a5dd /tests
parent530b2112773545b4449879ef45118e1469946a22 (diff)
downloadlibayatana-indicator-efcb3e654caba19ade1dbe905eb9ae8526f08791.tar.gz
libayatana-indicator-efcb3e654caba19ade1dbe905eb9ae8526f08791.tar.bz2
libayatana-indicator-efcb3e654caba19ade1dbe905eb9ae8526f08791.zip
Setting up entry functions
Diffstat (limited to 'tests')
-rw-r--r--tests/dummy-indicator-entry-func.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/dummy-indicator-entry-func.c b/tests/dummy-indicator-entry-func.c
index 76d8605..bccd818 100644
--- a/tests/dummy-indicator-entry-func.c
+++ b/tests/dummy-indicator-entry-func.c
@@ -52,6 +52,28 @@ get_accessible_desc (IndicatorObject * io)
return NULL;
}
+static void
+entry_activate (IndicatorObject * io, IndicatorObjectEntry * entry, guint timestamp)
+{
+
+ return;
+}
+
+static void
+entry_activate_window (IndicatorObject * io, IndicatorObjectEntry * entry, guint windowid, guint timestamp)
+{
+
+ return;
+}
+
+static void
+entry_close (IndicatorObject * io, IndicatorObjectEntry * entry, guint timestamp)
+{
+
+ return;
+}
+
+
static void dummy_indicator_entry_func_class_init (DummyIndicatorEntryFuncClass *klass);
static void dummy_indicator_entry_func_init (DummyIndicatorEntryFunc *self);
static void dummy_indicator_entry_func_dispose (GObject *object);
@@ -74,6 +96,10 @@ dummy_indicator_entry_func_class_init (DummyIndicatorEntryFuncClass *klass)
io_class->get_menu = get_menu;
io_class->get_accessible_desc = get_accessible_desc;
+ io_class->entry_activate = entry_activate;
+ io_class->entry_activate_window = entry_activate_window;
+ io_class->entry_close = entry_close;
+
return;
}