aboutsummaryrefslogtreecommitdiff
path: root/tests/indicate-alot.c
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-01-16 13:04:41 -0600
committerTed Gould <ted@canonical.com>2009-01-16 13:04:41 -0600
commit0eb58996c1129d57347361833e021e5a5111cd03 (patch)
treedd0c5de4e334585db05167368314fbecf71a6626 /tests/indicate-alot.c
parent2b6ce30681688304f321b1717cac0891882e773e (diff)
parent872812ad907aa58e02204885b12c533c2c1bec58 (diff)
downloadlibayatana-indicator-0eb58996c1129d57347361833e021e5a5111cd03.tar.gz
libayatana-indicator-0eb58996c1129d57347361833e021e5a5111cd03.tar.bz2
libayatana-indicator-0eb58996c1129d57347361833e021e5a5111cd03.zip
Getting the debian package built up so that it can have a seperate library binary package.
Diffstat (limited to 'tests/indicate-alot.c')
-rw-r--r--tests/indicate-alot.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/indicate-alot.c b/tests/indicate-alot.c
new file mode 100644
index 0000000..bebf726
--- /dev/null
+++ b/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;
+}