[rygel] examples: Remove deprecated function
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] examples: Remove deprecated function
- Date: Sun, 23 Feb 2020 11:41:55 +0000 (UTC)
commit 421768c004ef3ccfcac8773738e9d680647cd8a5
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]