diff options
author | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2010-04-20 18:53:54 -0400 |
---|---|---|
committer | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2010-04-20 18:53:54 -0400 |
commit | d5b31c303c98f0af1358e0a9e8d4f85f989a7a45 (patch) | |
tree | 7980ac8cb888a3771d5dbd40ac7c12c5575b8de1 | |
parent | 17883f3ce61d7946a70db8022934d376f20eaf1b (diff) | |
download | gdk-pixbuf-d5b31c303c98f0af1358e0a9e8d4f85f989a7a45.tar.gz |
Slightly reduced extended layout cache size, updated authors/copywrite year.
-rw-r--r-- | gtk/gtkextendedlayout.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk/gtkextendedlayout.c b/gtk/gtkextendedlayout.c index 72c9ff0a6..c3108f0ea 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 <mathias@openismus.com> + * Tristan Van Berkom <tristan.van.berkom@gmail.com> * * 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; |