Remove debug printf about opacity
Don't print ""setting opacity to %d\n" every time a window's opacity changes. http://bugzilla.gnome.org/show_bug.cgi?id=580655
This commit is contained in:
parent
49400c08cd
commit
6cf71a06c0
@ -441,7 +441,6 @@ mutter_window_constructed (GObject *object)
|
|||||||
|
|
||||||
opacity = (guint8)((gfloat)value * 255.0 / ((gfloat)0xffffffff));
|
opacity = (guint8)((gfloat)value * 255.0 / ((gfloat)0xffffffff));
|
||||||
|
|
||||||
printf ("setting opacity to %d\n", opacity);
|
|
||||||
priv->opacity = opacity;
|
priv->opacity = opacity;
|
||||||
clutter_actor_set_opacity (CLUTTER_ACTOR (self), opacity);
|
clutter_actor_set_opacity (CLUTTER_ACTOR (self), opacity);
|
||||||
}
|
}
|
||||||
@ -1716,7 +1715,6 @@ process_property_notify (Mutter *compositor,
|
|||||||
|
|
||||||
opacity = (guint8)((gfloat)value * 255.0 / ((gfloat)0xffffffff));
|
opacity = (guint8)((gfloat)value * 255.0 / ((gfloat)0xffffffff));
|
||||||
|
|
||||||
printf ("setting opacity to %d\n", opacity);
|
|
||||||
cw->priv->opacity = opacity;
|
cw->priv->opacity = opacity;
|
||||||
clutter_actor_set_opacity (CLUTTER_ACTOR (cw), opacity);
|
clutter_actor_set_opacity (CLUTTER_ACTOR (cw), opacity);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user