aboutsummaryrefslogtreecommitdiff
path: root/libindicate/tests
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-01-09 16:37:54 -0600
committerTed Gould <ted@canonical.com>2009-01-09 16:37:54 -0600
commit55794df35a7c9b3d44351be737fd5ef491655207 (patch)
tree04b5a85df71aa63b94d003b2975bb4c3af6893b3 /libindicate/tests
parent791b5f802bf0d0ffb72d39c85da512332c889453 (diff)
downloadlibayatana-indicator-55794df35a7c9b3d44351be737fd5ef491655207.tar.gz
libayatana-indicator-55794df35a7c9b3d44351be737fd5ef491655207.tar.bz2
libayatana-indicator-55794df35a7c9b3d44351be737fd5ef491655207.zip
Adding in an indicator to the test and fixing a typo
Diffstat (limited to 'libindicate/tests')
-rw-r--r--libindicate/tests/indicate-and-crash.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libindicate/tests/indicate-and-crash.c b/libindicate/tests/indicate-and-crash.c
index c927d77..624cc0c 100644
--- a/libindicate/tests/indicate-and-crash.c
+++ b/libindicate/tests/indicate-and-crash.c
@@ -7,6 +7,9 @@ gboolean crashfunc (gpointer data) { *(int *)data = 5; }
int
main (int argc, char ** argv)
{
+ g_type_init();
+
+ IndicateIndicator * indicator = indicate_indicator_new();
g_timeout_add_seconds(15, crashfunc, NULL);