libsysprof-analyze: add some helper names to frames

This commit is contained in:
Christian Hergert
2023-07-13 17:41:20 -07:00
parent 7bc828035c
commit 36414c8ec3
6 changed files with 44 additions and 0 deletions

View File

@ -20,6 +20,8 @@
#include "config.h"
#include <glib/gi18n.h>
#include "sysprof-document-frame-private.h"
#include "sysprof-document-sample.h"
@ -127,9 +129,12 @@ static void
sysprof_document_sample_class_init (SysprofDocumentSampleClass *klass)
{
GObjectClass *object_class = G_OBJECT_CLASS (klass);
SysprofDocumentFrameClass *document_frame_class = SYSPROF_DOCUMENT_FRAME_CLASS (klass);
object_class->get_property = sysprof_document_sample_get_property;
document_frame_class->type_name = N_("Sample");
/**
* SysprofDocumentSample:thread-id:
*