src/sysprof: explicitely call dex_init() at startup

This should happen from a static constructor, but be explicit about it
anyway.

Related: #142
This commit is contained in:
Christian Hergert
2025-04-16 11:40:32 -07:00
parent be4f0b94b3
commit 501777fe3e

View File

@ -26,6 +26,8 @@
#include <glib/gi18n.h>
#include <gtk/gtk.h>
#include <libdex.h>
#include <sysprof-capture.h>
#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);