[clutter-gtk] silence obvious Clutter deprecation warnings
- From: Lionel Landwerlin <llandwerlin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter-gtk] silence obvious Clutter deprecation warnings
- Date: Sat, 12 Dec 2015 09:23:15 +0000 (UTC)
commit d7f735e6956ad8db28642285ccf1bcd5e0d10ff6
Author: Lionel Landwerlin <llandwerlin gmail com>
Date: Fri Dec 11 22:58:16 2015 +0000
silence obvious Clutter deprecation warnings
https://bugzilla.gnome.org/show_bug.cgi?id=759375
clutter-gtk/gtk-clutter-actor.c | 2 +-
clutter-gtk/gtk-clutter-offscreen.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/clutter-gtk/gtk-clutter-actor.c b/clutter-gtk/gtk-clutter-actor.c
index 6b78628..bb1c1f0 100644
--- a/clutter-gtk/gtk-clutter-actor.c
+++ b/clutter-gtk/gtk-clutter-actor.c
@@ -332,7 +332,7 @@ gtk_clutter_actor_allocate (ClutterActor *actor,
gtk_widget_size_allocate (priv->widget, &child_allocation);
- if (CLUTTER_ACTOR_IS_REALIZED (actor))
+ if (clutter_actor_is_realized (actor))
{
cairo_surface_t *surface;
diff --git a/clutter-gtk/gtk-clutter-offscreen.c b/clutter-gtk/gtk-clutter-offscreen.c
index 7243420..c4ebc94 100644
--- a/clutter-gtk/gtk-clutter-offscreen.c
+++ b/clutter-gtk/gtk-clutter-offscreen.c
@@ -25,7 +25,7 @@ gtk_clutter_offscreen_add (GtkContainer *container,
GTK_CONTAINER_CLASS (_gtk_clutter_offscreen_parent_class)->add (container, child);
if (offscreen->actor != NULL &&
- CLUTTER_ACTOR_IS_VISIBLE (offscreen->actor))
+ clutter_actor_is_visible (offscreen->actor))
{
/* force a relayout */
clutter_actor_queue_relayout (offscreen->actor);
@@ -41,7 +41,7 @@ gtk_clutter_offscreen_remove (GtkContainer *container,
GTK_CONTAINER_CLASS (_gtk_clutter_offscreen_parent_class)->remove (container, child);
if (offscreen->actor != NULL &&
- CLUTTER_ACTOR_IS_VISIBLE (offscreen->actor))
+ clutter_actor_is_visible (offscreen->actor))
{
/* force a relayout */
clutter_actor_queue_relayout (offscreen->actor);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]