From 7fa9e88294da89cb0feed1506ee6b88422048f19 Mon Sep 17 00:00:00 2001 From: Adel Gadllah Date: Sat, 31 Jul 2010 12:31:32 +0200 Subject: [PATCH] [St] Remove unused width/height from st_theme_node_transition_paint We query the texture size here but never actually use it. https://bugzilla.gnome.org/show_bug.cgi?id=625713 --- src/st/st-theme-node-transition.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/st/st-theme-node-transition.c b/src/st/st-theme-node-transition.c index 2dff2fd82..78be9667c 100644 --- a/src/st/st-theme-node-transition.c +++ b/src/st/st-theme-node-transition.c @@ -282,7 +282,6 @@ st_theme_node_transition_paint (StThemeNodeTransition *transition, { StThemeNodeTransitionPrivate *priv = transition->priv; - guint width, height; CoglColor constant; float tex_coords[] = { 0.0, 0.0, 1.0, 1.0, @@ -307,9 +306,6 @@ st_theme_node_transition_paint (StThemeNodeTransition *transition, paint_opacity); } - width = cogl_texture_get_width (priv->old_texture); - height = cogl_texture_get_height (priv->old_texture); - cogl_color_set_from_4ub (&constant, 0, 0, 0, clutter_alpha_get_alpha (priv->alpha) * paint_opacity);