mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-10 15:10:53 +00:00
libsysprof-gtk: make xy series compile
We aren't using this, but this makes it fit the form of the rest of the things in here.
This commit is contained in:
@ -20,6 +20,7 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include "sysprof-series-private.h"
|
||||
#include "sysprof-xy-series.h"
|
||||
#include "sysprof-xy-series-item-private.h"
|
||||
|
||||
@ -30,6 +31,11 @@ struct _SysprofXYSeries
|
||||
GtkExpression *y_expression;
|
||||
};
|
||||
|
||||
struct _SysprofXYSeriesClass
|
||||
{
|
||||
SysprofSeriesClass parent_instance;
|
||||
};
|
||||
|
||||
enum {
|
||||
PROP_0,
|
||||
PROP_X_EXPRESSION,
|
||||
@ -42,9 +48,12 @@ G_DEFINE_FINAL_TYPE (SysprofXYSeries, sysprof_xy_series, SYSPROF_TYPE_SERIES)
|
||||
static GParamSpec *properties [N_PROPS];
|
||||
|
||||
static gpointer
|
||||
sysprof_xy_series_get_series_item (SysprofXYSeries *self,
|
||||
gpointer item)
|
||||
sysprof_xy_series_get_series_item (SysprofSeries *series,
|
||||
guint position,
|
||||
gpointer item)
|
||||
{
|
||||
SysprofXYSeries *self = SYSPROF_XY_SERIES (series);
|
||||
|
||||
return _sysprof_xy_series_item_new (item,
|
||||
gtk_expression_ref (self->x_expression),
|
||||
gtk_expression_ref (self->y_expression));
|
||||
|
||||
Reference in New Issue
Block a user