[cairo-bugs] [Bug 93255] New: GTK threaded animation example on website uses obsolete functions

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Dec 4 15:15:22 PST 2015


https://bugs.freedesktop.org/show_bug.cgi?id=93255

            Bug ID: 93255
           Summary: GTK threaded animation example on website uses
                    obsolete functions
           Product: cairo
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: trivial
          Priority: medium
         Component: general
          Assignee: chris at chris-wilson.co.uk
          Reporter: kota.weaver at gmail.com
        QA Contact: cairo-bugs at cairographics.org

On http://cairographics.org/examples/ the first example under the "Animation"
header is "threaded animation with cairo" which can be found here:
http://cairographics.org/threaded_animation_with_cairo/

The problem is this requires the use of deprecated functions in GObject and
GDK, namely:
 - g_thread_supported()
 - g_thread_init()
 - gdk_threads_init()
 - gdk_threads_enter()
 - gdk_threads_leave()
and perhaps others.

While setting up another example would likely take some work, I figure a
reasonable thing to do at this point would be to have a warning at the top of
the page mentioning that the example is outdated and uses obsolete techniques.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo-bugs/attachments/20151204/5254f70d/attachment.html>


More information about the cairo-bugs mailing list