From d5b31c303c98f0af1358e0a9e8d4f85f989a7a45 Mon Sep 17 00:00:00 2001 From: Tristan Van Berkom Date: Tue, 20 Apr 2010 18:53:54 -0400 Subject: [PATCH] Slightly reduced extended layout cache size, updated authors/copywrite year. --- gtk/gtkextendedlayout.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gtk/gtkextendedlayout.c b/gtk/gtkextendedlayout.c index 72c9ff0a6e..c3108f0ea7 100644 --- a/gtk/gtkextendedlayout.c +++ b/gtk/gtkextendedlayout.c @@ -1,8 +1,9 @@ /* gtkextendedlayout.c - * Copyright (C) 2007 Openismus GmbH + * Copyright (C) 2007-2010 Openismus GmbH * - * Author: + * Authors: * Mathias Hasselmann + * Tristan Van Berkom * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public @@ -44,8 +45,8 @@ typedef struct typedef struct { DesiredSize desired_widths[N_CACHED_SIZES]; DesiredSize desired_heights[N_CACHED_SIZES]; - guint8 cached_width_age; - guint8 cached_height_age; + guint8 cached_width_age; + guint8 cached_height_age; } ExtendedLayoutCache; static GQuark quark_cache = 0; @@ -252,7 +253,6 @@ compute_size_for_orientation (GtkExtendedLayout *layout, cached_size->natural_size = MAX (cached_size->natural_size, group_size); } - /* Output the MAX()s of the cached size and the size computed by GtkSizeGroup. */ if (minimum_size) *minimum_size = cached_size->minimum_size;