libsysprof-gtk: use .ui file for test

This will allow us to iterate a bit more easier.
This commit is contained in:
Christian Hergert
2023-06-26 16:40:24 -07:00
parent 282e305c5d
commit 3e952c0a96
6 changed files with 209 additions and 136 deletions

View File

@ -30,7 +30,7 @@ enum {
N_PROPS
};
G_DEFINE_FINAL_TYPE (SysprofXYLayer, sysprof_xy_layer, SYSPROF_TYPE_CHART_LAYER)
G_DEFINE_TYPE (SysprofXYLayer, sysprof_xy_layer, SYSPROF_TYPE_CHART_LAYER)
static GParamSpec *properties [N_PROPS];
@ -201,6 +201,9 @@ sysprof_xy_layer_set_series (SysprofXYLayer *self,
g_binding_group_set_source (self->series_bindings, series);
sysprof_normalized_series_set_series (self->normal_x, SYSPROF_SERIES (series));
sysprof_normalized_series_set_series (self->normal_y, SYSPROF_SERIES (series));
g_object_notify_by_pspec (G_OBJECT (self), properties[PROP_SERIES]);
}