visualizer-view: ensure types are registered

These have the chance of being dropped unless we export them
here manually. We probably should change how we export symbols
so this isn't required in the future.
This commit is contained in:
Christian Hergert
2016-10-09 12:36:28 -07:00
parent 3b2f2505d3
commit 034a7d881f

View File

@ -527,6 +527,9 @@ sp_visualizer_view_class_init (SpVisualizerViewClass *klass)
sp_theme_manager_register_resource (theme_manager, NULL, NULL, "/org/gnome/sysprof/css/SpVisualizerView-shared.css");
sp_theme_manager_register_resource (theme_manager, "Adwaita", NULL, "/org/gnome/sysprof/css/SpVisualizerView-Adwaita.css");
sp_theme_manager_register_resource (theme_manager, "Adwaita", "dark", "/org/gnome/sysprof/css/SpVisualizerView-Adwaita-dark.css");
g_type_ensure (SP_TYPE_VISUALIZER_LIST);
g_type_ensure (SP_TYPE_VISUALIZER_TICKS);
}
static void