dzl_cpu_graph_new unable to create a working widget
If you try and create a DzlCpuGraph using dzl_cpu_graph_new
you get the following error:
value "0" of type 'gint64' is invalid or out of range for property 'timespan' of type 'gint64'
If you try and set timespan after creation you get:
g_object_set_is_valid_property: construct property "timespan" for object 'DzlCpuGraph' can't be set after construction
To create a valid graph you need to do something like:
g_object_new (DZL_TYPE_CPU_GRAPH, "timespan", 30000000, "max-samples", 60, NULL)
So either dzl_cpu_graph_new
needs to take timespan as a construction argument or these should be able to be set after creation.
Edited by Robert Ancell