mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
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:
@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user