summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-07-03 09:05:33 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-07-03 09:05:33 -0400
commit3227aa2c45fa24f195f81fcc8cd56c1059c1869c (patch)
tree0198ba0b7aa546f6647220458d29d8e23213bcbb /demos
parentc88dc98b7c2cc3c64569055770108a4bbc997a04 (diff)
downloadgtk+-3227aa2c45fa24f195f81fcc8cd56c1059c1869c.tar.gz
mediastream: Rename apis one more time
Before we end up with names that we are unhappy with, rename things one more time, and update all callers.
Diffstat (limited to 'demos')
-rw-r--r--demos/gtk-demo/paintable_mediastream.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/demos/gtk-demo/paintable_mediastream.c b/demos/gtk-demo/paintable_mediastream.c
index c142cdd6c0..54d805c206 100644
--- a/demos/gtk-demo/paintable_mediastream.c
+++ b/demos/gtk-demo/paintable_mediastream.c
@@ -150,7 +150,7 @@ gtk_nuclear_media_stream_step (gpointer data)
* call our pause function to pause the stream.
*/
if (nuclear->progress >= DURATION)
- gtk_media_stream_set_ended (GTK_MEDIA_STREAM (nuclear));
+ gtk_media_stream_stream_ended (GTK_MEDIA_STREAM (nuclear));
/* The timeout function is removed by the pause function,
* so we can just always return this value.
@@ -267,11 +267,11 @@ gtk_nuclear_media_stream_init (GtkNuclearMediaStream *nuclear)
* However, media streams need to tell GTK once they are initialized,
* so we do that here.
*/
- gtk_media_stream_set_prepared (GTK_MEDIA_STREAM (nuclear),
- FALSE,
- TRUE,
- TRUE,
- DURATION);
+ gtk_media_stream_stream_prepared (GTK_MEDIA_STREAM (nuclear),
+ FALSE,
+ TRUE,
+ TRUE,
+ DURATION);
}
/* And finally, we add the simple constructor we declared in the header. */