[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
This commit is contained in:
Adel Gadllah 2010-07-31 12:31:32 +02:00
parent b76fe12209
commit 7fa9e88294

View File

@ -282,7 +282,6 @@ st_theme_node_transition_paint (StThemeNodeTransition *transition,
{ {
StThemeNodeTransitionPrivate *priv = transition->priv; StThemeNodeTransitionPrivate *priv = transition->priv;
guint width, height;
CoglColor constant; CoglColor constant;
float tex_coords[] = { float tex_coords[] = {
0.0, 0.0, 1.0, 1.0, 0.0, 0.0, 1.0, 1.0,
@ -307,9 +306,6 @@ st_theme_node_transition_paint (StThemeNodeTransition *transition,
paint_opacity); 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, cogl_color_set_from_4ub (&constant, 0, 0, 0,
clutter_alpha_get_alpha (priv->alpha) * paint_opacity); clutter_alpha_get_alpha (priv->alpha) * paint_opacity);