mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-09 22:50:54 +00:00
visualizers: use cast macros
We use these everywhere else, so be consistent with that.
This commit is contained in:
@ -79,7 +79,7 @@ sp_visualizer_list_get_property (GObject *object,
|
|||||||
GValue *value,
|
GValue *value,
|
||||||
GParamSpec *pspec)
|
GParamSpec *pspec)
|
||||||
{
|
{
|
||||||
SpVisualizerList *self = (SpVisualizerList *)object;
|
SpVisualizerList *self = SP_VISUALIZER_LIST (object);
|
||||||
|
|
||||||
switch (prop_id)
|
switch (prop_id)
|
||||||
{
|
{
|
||||||
@ -102,7 +102,7 @@ sp_visualizer_list_set_property (GObject *object,
|
|||||||
const GValue *value,
|
const GValue *value,
|
||||||
GParamSpec *pspec)
|
GParamSpec *pspec)
|
||||||
{
|
{
|
||||||
SpVisualizerList *self = (SpVisualizerList *)object;
|
SpVisualizerList *self = SP_VISUALIZER_LIST (object);
|
||||||
|
|
||||||
switch (prop_id)
|
switch (prop_id)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -431,7 +431,7 @@ sp_visualizer_view_get_property (GObject *object,
|
|||||||
GValue *value,
|
GValue *value,
|
||||||
GParamSpec *pspec)
|
GParamSpec *pspec)
|
||||||
{
|
{
|
||||||
SpVisualizerView *self = (SpVisualizerView *)object;
|
SpVisualizerView *self = SP_VISUALIZER_VIEW (object);
|
||||||
|
|
||||||
switch (prop_id)
|
switch (prop_id)
|
||||||
{
|
{
|
||||||
@ -454,7 +454,7 @@ sp_visualizer_view_set_property (GObject *object,
|
|||||||
const GValue *value,
|
const GValue *value,
|
||||||
GParamSpec *pspec)
|
GParamSpec *pspec)
|
||||||
{
|
{
|
||||||
SpVisualizerView *self = (SpVisualizerView *)object;
|
SpVisualizerView *self = SP_VISUALIZER_VIEW (object);
|
||||||
|
|
||||||
switch (prop_id)
|
switch (prop_id)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user