[mutter/gbsneto/offscreen-paint-node: 15/20] clutter/offscreen-effect: Undeprecate clutter_offscreen_effect_get_target_size()
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/gbsneto/offscreen-paint-node: 15/20] clutter/offscreen-effect: Undeprecate clutter_offscreen_effect_get_target_size()
- Date: Mon, 6 Jul 2020 13:56:39 +0000 (UTC)
commit 112948904c1f93d19394c11786473112c9cc8cbd
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Sun Jul 5 18:39:27 2020 -0300
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 01930f0f5a..2c16705a17 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 69ed65ebd4..b0ea9db185 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]