diff options
author | Ted Gould <ted@canonical.com> | 2009-10-08 17:03:20 -0400 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-10-08 17:03:20 -0400 |
commit | c594126850cb7b59294069f2711fa0a5d96febbb (patch) | |
tree | 46c0a6f56f289a90f9ac0f154cabf14cdb5df219 /tests/dummy-indicator-null.c | |
parent | 605f74bd18652f40b619771e60978d6abd23c65f (diff) | |
download | libayatana-indicator-c594126850cb7b59294069f2711fa0a5d96febbb.tar.gz libayatana-indicator-c594126850cb7b59294069f2711fa0a5d96febbb.tar.bz2 libayatana-indicator-c594126850cb7b59294069f2711fa0a5d96febbb.zip |
Creating a dummy indicator that returns null
Diffstat (limited to 'tests/dummy-indicator-null.c')
-rw-r--r-- | tests/dummy-indicator-null.c | 23 |
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; +} |