aboutsummaryrefslogtreecommitdiff
path: root/libindicate/tests
diff options
context:
space:
mode:
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);