Tutorial uses deprecated method

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Tutorial uses deprecated method

amindfv@mailbox.org
In the latest git version of Basic Tutorial 5 (gst-docs/examples/tutorials/basic-tutorial-5.c), we get a warning about using a deprecated method:

    basic-tutorial-5.c: In function ‘create_ui’:
    basic-tutorial-5.c:130:3: warning: ‘gtk_widget_set_double_buffered’ is deprecated [-Wdeprecated-declarations]
       gtk_widget_set_double_buffered (video_window, FALSE);
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Tom
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Tutorial uses deprecated method

Mathieu Duponchelle
Interesting, I do not know what the implications of removing that method
call are, and the tutorial doesn't mention why it calls it either, but you
probably want to open an issue in gitlab about that :)

Cheers,

--
Mathieu Duponchelle · https://www.centricular.com <https://www.centricular.com>

On 2/5/21 7:43 PM, [hidden email] wrote:

> In the latest git version of Basic Tutorial 5 (gst-docs/examples/tutorials/basic-tutorial-5.c), we get a warning about using a deprecated method:
>
>     basic-tutorial-5.c: In function ‘create_ui’:
>     basic-tutorial-5.c:130:3: warning: ‘gtk_widget_set_double_buffered’ is deprecated [-Wdeprecated-declarations]
>        gtk_widget_set_double_buffered (video_window, FALSE);
>        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> Tom
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel