mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-11 23:51:06 +00:00
libsysprof-gtk: dont transfer ownership of borrowed axis
This commit is contained in:
@ -40,10 +40,10 @@ sysprof_counter_track_create_chart (SysprofTrack *track)
|
|||||||
SysprofCounterTrack *self = (SysprofCounterTrack *)track;
|
SysprofCounterTrack *self = (SysprofCounterTrack *)track;
|
||||||
SysprofSession *session = NULL;
|
SysprofSession *session = NULL;
|
||||||
g_autoptr(SysprofSeries) xy_series = NULL;
|
g_autoptr(SysprofSeries) xy_series = NULL;
|
||||||
g_autoptr(SysprofAxis) x_axis = NULL;
|
|
||||||
g_autoptr(SysprofAxis) y_axis = NULL;
|
g_autoptr(SysprofAxis) y_axis = NULL;
|
||||||
SysprofChartLayer *layer;
|
SysprofChartLayer *layer;
|
||||||
SysprofChart *chart;
|
SysprofChart *chart;
|
||||||
|
SysprofAxis *x_axis;
|
||||||
|
|
||||||
g_assert (SYSPROF_IS_COUNTER_TRACK (self));
|
g_assert (SYSPROF_IS_COUNTER_TRACK (self));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user