diff options
author | Milan Crha <mcrha@src.gnome.org> | 2007-10-01 15:21:43 +0800 |
---|---|---|
committer | Milan Crha <mcrha@src.gnome.org> | 2007-10-01 15:21:43 +0800 |
commit | 6e14da5c593d08a8edf1155cd4378c889425c423 (patch) | |
tree | a82edec3d38fbc1fe328c866aa69cb862b2ec7a8 /widgets/table/e-table-group-container.c | |
parent | 150493ab4bae218f3626768e8815a54c7cc0d1cf (diff) | |
download | gsoc2013-evolution-6e14da5c593d08a8edf1155cd4378c889425c423.tar gsoc2013-evolution-6e14da5c593d08a8edf1155cd4378c889425c423.tar.gz gsoc2013-evolution-6e14da5c593d08a8edf1155cd4378c889425c423.tar.bz2 gsoc2013-evolution-6e14da5c593d08a8edf1155cd4378c889425c423.tar.lz gsoc2013-evolution-6e14da5c593d08a8edf1155cd4378c889425c423.tar.xz gsoc2013-evolution-6e14da5c593d08a8edf1155cd4378c889425c423.tar.zst gsoc2013-evolution-6e14da5c593d08a8edf1155cd4378c889425c423.zip |
2007-10-01 mcrha Fix for bug #474557
svn path=/trunk/; revision=34336
Diffstat (limited to 'widgets/table/e-table-group-container.c')
-rw-r--r-- | widgets/table/e-table-group-container.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/widgets/table/e-table-group-container.c b/widgets/table/e-table-group-container.c index d399c29824..ea5600760a 100644 --- a/widgets/table/e-table-group-container.c +++ b/widgets/table/e-table-group-container.c @@ -1009,11 +1009,11 @@ etgc_reflow (GnomeCanvasItem *item, gint flags) PangoContext *context; PangoFontMetrics *metrics; - context = gtk_widget_get_pango_context (GTK_WIDGET (etgc)); + context = gtk_widget_get_pango_context (GTK_WIDGET (item->canvas)); metrics = pango_context_get_metrics (context, etgc->font_desc, NULL); extra_height += - pango_font_metrics_get_ascent (metrics) + - pango_font_metrics_get_descent (metrics) + + PANGO_PIXELS (pango_font_metrics_get_ascent (metrics)) + + PANGO_PIXELS (pango_font_metrics_get_descent (metrics)) + BUTTON_PADDING * 2; pango_font_metrics_unref (metrics); } |