aboutsummaryrefslogtreecommitdiff
path: root/tests/dummy-indicator-null.c
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-11-03 20:23:41 -0600
committerTed Gould <ted@canonical.com>2009-11-03 20:23:41 -0600
commit541f18ceb56e3db6d342ae3dbac51e527592614e (patch)
tree41ddb409dfbc7b4b905d9f57d6e7c8403c8220fa /tests/dummy-indicator-null.c
parentb5f41d1c0ca30f1cf7379e754d906681ccfbe9e1 (diff)
parentc09917d4792ccbd9fbd773874ae6e75e73c32a6e (diff)
downloadlibayatana-indicator-541f18ceb56e3db6d342ae3dbac51e527592614e.tar.gz
libayatana-indicator-541f18ceb56e3db6d342ae3dbac51e527592614e.tar.bz2
libayatana-indicator-541f18ceb56e3db6d342ae3dbac51e527592614e.zip
Merging in an interface for loading modules cleanly.
Diffstat (limited to 'tests/dummy-indicator-null.c')
-rw-r--r--tests/dummy-indicator-null.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/dummy-indicator-null.c b/tests/dummy-indicator-null.c
new file mode 100644
index 0000000..ff99d71
--- /dev/null
+++ b/tests/dummy-indicator-null.c
@@ -0,0 +1,23 @@
+
+#include "libindicator/indicator.h"
+
+INDICATOR_SET_VERSION
+INDICATOR_SET_NAME("dummy-indicator-null")
+
+GtkLabel *
+get_label (void)
+{
+ return NULL;
+}
+
+GtkImage *
+get_icon (void)
+{
+ return NULL;
+}
+
+GtkMenu *
+get_menu (void)
+{
+ return NULL;
+}