From 47b88de3b6ba228b4f0c0690c8994349b13aa81f Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Sun, 5 Jul 2020 18:39:27 -0300 Subject: [PATCH] clutter/offscreen-effect: Undeprecate clutter_offscreen_effect_get_target_size() clutter_offscreen_effect_get_target_rect() is going away soon. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1355 --- clutter/clutter/clutter-offscreen-effect.c | 2 -- clutter/clutter/clutter-offscreen-effect.h | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/clutter/clutter/clutter-offscreen-effect.c b/clutter/clutter/clutter-offscreen-effect.c index 01930f0f5..2c16705a1 100644 --- a/clutter/clutter/clutter-offscreen-effect.c +++ b/clutter/clutter/clutter-offscreen-effect.c @@ -715,8 +715,6 @@ clutter_offscreen_effect_create_texture (ClutterOffscreenEffect *effect, * and %FALSE otherwise * * Since: 1.8 - * - * Deprecated: 1.14: Use clutter_offscreen_effect_get_target_rect() instead */ gboolean clutter_offscreen_effect_get_target_size (ClutterOffscreenEffect *effect, diff --git a/clutter/clutter/clutter-offscreen-effect.h b/clutter/clutter/clutter-offscreen-effect.h index 69ed65ebd..b0ea9db18 100644 --- a/clutter/clutter/clutter-offscreen-effect.h +++ b/clutter/clutter/clutter-offscreen-effect.h @@ -106,13 +106,14 @@ CoglHandle clutter_offscreen_effect_get_texture (ClutterOffscree CLUTTER_EXPORT void clutter_offscreen_effect_paint_target (ClutterOffscreenEffect *effect, + ClutterPaintNode *node, ClutterPaintContext *paint_context); CLUTTER_EXPORT CoglHandle clutter_offscreen_effect_create_texture (ClutterOffscreenEffect *effect, gfloat width, gfloat height); -CLUTTER_DEPRECATED_FOR (clutter_offscreen_effect_get_target_rect) +CLUTTER_EXPORT gboolean clutter_offscreen_effect_get_target_size (ClutterOffscreenEffect *effect, gfloat *width, gfloat *height);