diff options
-rw-r--r-- | clutter/x11/clutter-backend-x11.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clutter/x11/clutter-backend-x11.c b/clutter/x11/clutter-backend-x11.c index b6825b856..ccf89bf4b 100644 --- a/clutter/x11/clutter-backend-x11.c +++ b/clutter/x11/clutter-backend-x11.c @@ -814,7 +814,7 @@ clutter_x11_has_composite_extension (void) void clutter_x11_set_use_argb_visual (gboolean use_argb) { - if (backend_singleton != NULL) + if (_clutter_context_is_initialized ()) { g_warning ("%s() can only be used before calling clutter_init()", G_STRFUNC); |