GNOME Bugzilla – Bug 657963
themingengine: remove xthickness FIXME from gtk_render_line() code
Last modified: 2011-09-02 19:13:23 UTC
See attached patch. We hardcode lines of different color when calling gtk_render_line().
Created attachment 195413 [details] [review] themingengine: remove xthickness FIXME from gtk_render_line() code The gtk_render_line() code has a FIXME (coming from the 2.x migration I suppose) about using xthickness, and it actually hardcodes two lines of different color instead of drawing a single one. Since we don't support xthickness anymore, make gtk_render_line() do what it says, i.e. just draw an 1px line colored with the current border-color.
Created attachment 195416 [details] [review] themingengine: remove xthickness FIXME from gtk_render_line() code The gtk_render_line() code has a FIXME (coming from the 2.x migration I suppose) about using xthickness, and it actually hardcodes two lines of different color instead of drawing a single one. Since we don't support xthickness anymore, make gtk_render_line() do what it says, i.e. just draw an 1px line colored with the current border-color.
Created attachment 195417 [details] [review] themingengine: remove xthickness FIXME from gtk_render_line() code Right patch this time, I actually meant to use color and not border-color here.
Sounds fine to me.
Attachment 195417 [details] pushed as f5e758b - themingengine: remove xthickness FIXME from gtk_render_line() code Thanks, pushed to master.