libsysprof-analyze: rename to SysprofDocumentFrame

We will eventually be adding sub-types for the various frame types, and
use this as a common ancestor for item inflation.
This commit is contained in:
Christian Hergert
2023-04-25 15:32:55 -07:00
parent ed01673a5e
commit 31003c519c
7 changed files with 42 additions and 40 deletions

View File

@ -1,6 +1,8 @@
#include <errno.h>
#include <fcntl.h>
#include <sysprof-analyze.h>
#include <sysprof-capture.h>
int
main (int argc,
@ -34,9 +36,9 @@ main (int argc,
for (guint i = 0; i < n_items; i++)
{
SysprofCaptureFrameObject *obj = g_list_model_get_item (G_LIST_MODEL (document), i);
SysprofDocumentFrame *frame = g_list_model_get_item (G_LIST_MODEL (document), i);
g_clear_object (&obj);
g_clear_object (&frame);
}
g_clear_object (&document);