visualizers: use cast macros

We use these everywhere else, so be consistent with that.
This commit is contained in:
Christian Hergert
2016-12-12 16:12:33 -08:00
parent 22482f72da
commit 67a9d63597
2 changed files with 4 additions and 4 deletions

View File

@ -79,7 +79,7 @@ sp_visualizer_list_get_property (GObject *object,
GValue *value,
GParamSpec *pspec)
{
SpVisualizerList *self = (SpVisualizerList *)object;
SpVisualizerList *self = SP_VISUALIZER_LIST (object);
switch (prop_id)
{
@ -102,7 +102,7 @@ sp_visualizer_list_set_property (GObject *object,
const GValue *value,
GParamSpec *pspec)
{
SpVisualizerList *self = (SpVisualizerList *)object;
SpVisualizerList *self = SP_VISUALIZER_LIST (object);
switch (prop_id)
{

View File

@ -431,7 +431,7 @@ sp_visualizer_view_get_property (GObject *object,
GValue *value,
GParamSpec *pspec)
{
SpVisualizerView *self = (SpVisualizerView *)object;
SpVisualizerView *self = SP_VISUALIZER_VIEW (object);
switch (prop_id)
{
@ -454,7 +454,7 @@ sp_visualizer_view_set_property (GObject *object,
const GValue *value,
GParamSpec *pspec)
{
SpVisualizerView *self = (SpVisualizerView *)object;
SpVisualizerView *self = SP_VISUALIZER_VIEW (object);
switch (prop_id)
{