diff options
author | Chris Toshok <toshok@ximian.com> | 2002-12-17 07:24:24 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2002-12-17 07:24:24 +0800 |
commit | b6a3b64021ca544c738b9c68ea171712f7785acd (patch) | |
tree | bf983244d3884673f010ea339e44ee0964ce0a17 /calendar/gui/e-week-view-event-item.h | |
parent | 9bc309a2f559996e370b140dfe7c40ef9d9965e0 (diff) | |
download | gsoc2013-evolution-b6a3b64021ca544c738b9c68ea171712f7785acd.tar gsoc2013-evolution-b6a3b64021ca544c738b9c68ea171712f7785acd.tar.gz gsoc2013-evolution-b6a3b64021ca544c738b9c68ea171712f7785acd.tar.bz2 gsoc2013-evolution-b6a3b64021ca544c738b9c68ea171712f7785acd.tar.lz gsoc2013-evolution-b6a3b64021ca544c738b9c68ea171712f7785acd.tar.xz gsoc2013-evolution-b6a3b64021ca544c738b9c68ea171712f7785acd.tar.zst gsoc2013-evolution-b6a3b64021ca544c738b9c68ea171712f7785acd.zip |
pass in the pango layout so we don't have to create another one here.
2002-12-16 Chris Toshok <toshok@ximian.com>
* e-table-header-utils.c (e_table_draw_elided_string): pass in the
pango layout so we don't have to create another one here. Also,
elide the string properly (same method that e-clipped-label uses)
and simplify the extent operations.
(e_table_header_compute_height): just use
pango_layout_get_pixel_size here.
(e_table_header_draw_button): make sure the clip rectangle is
NULL'ed on our gc, since random gtk calls seem to install one,
which sucks. Also, simplify the pango layout stuff a little.
svn path=/trunk/; revision=19142
Diffstat (limited to 'calendar/gui/e-week-view-event-item.h')
0 files changed, 0 insertions, 0 deletions