mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-gtk: transfer ownership of model to series
This commit is contained in:
@ -54,7 +54,7 @@ sysprof_counter_track_create_chart (SysprofTrack *track)
|
||||
y_axis = sysprof_value_axis_new (sysprof_document_counter_get_min_value (self->counter),
|
||||
sysprof_document_counter_get_max_value (self->counter));
|
||||
xy_series = sysprof_xy_series_new (sysprof_track_get_title (track),
|
||||
G_LIST_MODEL (self->counter),
|
||||
g_object_ref (G_LIST_MODEL (self->counter)),
|
||||
gtk_property_expression_new (SYSPROF_TYPE_DOCUMENT_COUNTER_VALUE, NULL, "time"),
|
||||
gtk_property_expression_new (SYSPROF_TYPE_DOCUMENT_COUNTER_VALUE, NULL, "value-double"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user