Cogl.Onscreen.prototype.remove_dirty_callback

function remove_dirty_callback(closure: Cogl.OnscreenDirtyClosure): void {
    // Gjs wrapper for cogl_onscreen_remove_dirty_callback()
}
  

Removes a callback and associated user data that were previously registered using Cogl.Onscreen.prototype.add_dirty_callback.

If a destroy callback was passed to Cogl.Onscreen.prototype.add_dirty_callback to destroy the user data then this will also get called.

Since 1.16