diff options
author | Ted Gould <ted@canonical.com> | 2009-01-13 13:44:00 -0600 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-01-13 13:44:00 -0600 |
commit | f64b5d9528ff05508224d48652edbfde1d497243 (patch) | |
tree | 68a51967e9133942763d2ff657928f2c6c35335b /libindicate/tests/indicate-alot.c | |
parent | 0b4e54d7e08c652fd0468b307f0fe6eeb987a149 (diff) | |
download | libayatana-indicator-f64b5d9528ff05508224d48652edbfde1d497243.tar.gz libayatana-indicator-f64b5d9528ff05508224d48652edbfde1d497243.tar.bz2 libayatana-indicator-f64b5d9528ff05508224d48652edbfde1d497243.zip |
Forgot to actually add the test
Diffstat (limited to 'libindicate/tests/indicate-alot.c')
-rw-r--r-- | libindicate/tests/indicate-alot.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/libindicate/tests/indicate-alot.c b/libindicate/tests/indicate-alot.c new file mode 100644 index 0000000..bebf726 --- /dev/null +++ b/libindicate/tests/indicate-alot.c @@ -0,0 +1,24 @@ + +#include <glib.h> +#include "libindicate/indicator.h" + +#define ALOT 30 + + +int +main (int argc, char ** argv) +{ + g_type_init(); + + IndicateIndicator * indicators[ALOT]; + int i; + + for (i = 0; i < ALOT; i++) { + indicators[i] = indicate_indicator_new(); + indicate_indicator_show(indicators[i]); + } + + g_main_loop_run(g_main_loop_new(NULL, FALSE)); + + return 0; +} |