Don't create the Cogl GLib source multiple times
authorOwen W. Taylor <otaylor@fishsoup.net>
Wed, 29 Jun 2016 21:03:46 +0000 (17:03 -0400)
committerSjoerd Simons <sjoerd@debian.org>
Fri, 18 Nov 2016 21:23:04 +0000 (21:23 +0000)
commite02a1bec8b397be517661739da96fb386662f0ed
tree6204d712e6f9898f69169a9b73315ddc66b36159
parentd3444e61f7582c5ac71ad8382f20831b0e424b97
Don't create the Cogl GLib source multiple times

Since the check for backend->cogl_context was accidentally moved
to clutter_backend_do_real_create_context, the Glib source that
is created at the end of clutter_backend_do_create_context() is
created and added each time create_context() is called, though
create_context() is supposed to be idempotent.

https://bugzilla.gnome.org/show_bug.cgi?id=768243

Gbp-Pq: Name Don-t-create-the-Cogl-GLib-source-multiple-times.patch
clutter/clutter-backend.c