From 501777fe3ef57b1f2dff6181d847c6046bc49f5d Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Wed, 16 Apr 2025 11:40:32 -0700 Subject: [PATCH] src/sysprof: explicitely call dex_init() at startup This should happen from a static constructor, but be explicit about it anyway. Related: #142 --- src/sysprof/main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/sysprof/main.c b/src/sysprof/main.c index 93554fef..b6e65777 100644 --- a/src/sysprof/main.c +++ b/src/sysprof/main.c @@ -26,6 +26,8 @@ #include #include +#include + #include #include "sysprof-application.h" @@ -50,6 +52,8 @@ main (int argc, g_set_prgname ("sysprof"); + dex_init (); + app = sysprof_application_new (); ret = g_application_run (G_APPLICATION (app), argc, argv);