[rygel/wip/phako/remove-warnings: 13/14] examples: Remove deprecated function



commit 78d4e213c79d0b27de265fd08ab6b42d29a87545
Author: Jens Georg <mail jensge org>
Date:   Fri Feb 14 00:35:07 2020 +0100

    examples: Remove deprecated function

 examples/renderer-plugins/C/example-player.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/examples/renderer-plugins/C/example-player.c b/examples/renderer-plugins/C/example-player.c
index b4304577..99f2da2d 100644
--- a/examples/renderer-plugins/C/example-player.c
+++ b/examples/renderer-plugins/C/example-player.c
@@ -259,9 +259,7 @@ rygel_example_player_class_init (RygelExamplePlayerClass *klass) {
 
 static void
 rygel_example_player_init (RygelExamplePlayer *self) {
-  self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
-                                            RYGEL_EXAMPLE_TYPE_PLAYER,
-                                            RygelExamplePlayerPrivate);
+  self->priv = rygel_example_player_get_instance_private (self);
 
   self->priv->_playback_state = g_strdup ("NO_MEDIA_PRESENT");
   self->priv->_uri = NULL;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]