GNOME Bugzilla – Bug 647942
[pango] Use different Pango contexts for the different subclasses
Last modified: 2011-04-17 12:23:48 UTC
See attached patch, should explain everything
Created attachment 186073 [details] [review] pango: Create a new pango context for every subclass timeoverlay/clockoverlay are setting some global options on the context that shouldn't be used for the generic textoverlay.
Created attachment 186074 [details] [review] {clock,time}overlay: Only set the global pango context options once in class_init Instead of doing it over and over again when instantiating a new instance.
commit 72b142bfdfdb70b324c5d0805ec8318a9a687128 Author: Sebastian Dröge <sebastian.droege@collabora.co.uk> Date: Sat Apr 16 16:21:39 2011 +0200 {clock,time}overlay: Only set the global pango context options once in class Instead of doing it over and over again when instantiating a new instance. commit 9ee7398faeb48221dacaabf48990444dd96d4211 Author: Sebastian Dröge <sebastian.droege@collabora.co.uk> Date: Sat Apr 16 16:18:40 2011 +0200 pango: Create a new pango context for every subclass timeoverlay/clockoverlay are setting some global options on the context that shouldn't be used for the generic textoverlay.