[clutter-gtk] embed: remove unused coords translation call
- From: Lionel Landwerlin <llandwerlin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter-gtk] embed: remove unused coords translation call
- Date: Fri, 11 Sep 2015 22:54:16 +0000 (UTC)
commit 2a7e58a8b9f92bd5e23c71f8fb87c545c951bc72
Author: Lionel Landwerlin <llandwerlin gmail com>
Date: Sat Sep 5 23:28:24 2015 +0100
embed: remove unused coords translation call
clutter-gtk/gtk-clutter-embed.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/clutter-gtk/gtk-clutter-embed.c b/clutter-gtk/gtk-clutter-embed.c
index 22549c5..64542bb 100644
--- a/clutter-gtk/gtk-clutter-embed.c
+++ b/clutter-gtk/gtk-clutter-embed.c
@@ -335,7 +335,6 @@ gtk_clutter_embed_ensure_subsurface (GtkClutterEmbed *embed)
priv->clutter_surface,
gtk_surface);
- gtk_widget_translate_coordinates (widget, gtk_widget_get_toplevel (widget), 0, 0, &x, &y);
gdk_window_get_origin (gtk_widget_get_parent_window (widget), &x, &y);
wl_subsurface_set_position (priv->subsurface, x + allocation.x, y + allocation.y);
wl_subsurface_set_desync (priv->subsurface);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]