mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-analyze: give counter values access to type
Otherwise they won't know how to return the proper value to callers.
This commit is contained in:
@ -74,7 +74,7 @@ sysprof_document_counter_get_item (GListModel *model,
|
||||
|
||||
value = &g_array_index (self->values, SysprofDocumentTimedValue, position);
|
||||
|
||||
return _sysprof_document_counter_value_new (value);
|
||||
return _sysprof_document_counter_value_new (self->type, value);
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
Reference in New Issue
Block a user