Skip to content

Commit

Permalink
Make clutter_offscreen_effect_get_target available to Cjs (#702)
Browse files Browse the repository at this point in the history
In order to enable all effects in the "Cinnamon Burn My Windows" extension it's required that the clutter OffscreenEffect.get_target() API is available to Cjs. I believe that the "(skip)" comment text is a GObject-Introspection annotations that prevents the API from being exposed as a API call in Cjs. The current GNOME equivalent is OffscreenEffect.get_pipeline() which is available to Gjs. https://github.com/GNOME/mutter/blob/625965d956a8818b77eadbdf0ae6e5edbf60b029/clutter/clutter/clutter-offscreen-effect.c#L666
  • Loading branch information
klangman authored Nov 3, 2024
1 parent e1bb33e commit 7124201
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clutter/clutter/clutter-offscreen-effect.c
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ clutter_offscreen_effect_get_texture (ClutterOffscreenEffect *effect)
}

/**
* clutter_offscreen_effect_get_target: (skip)
* clutter_offscreen_effect_get_target:
* @effect: a #ClutterOffscreenEffect
*
* Retrieves the material used as a render target for the offscreen
Expand Down

0 comments on commit 7124201

Please sign in to comment.