diff options
author | Sven Neumann <sven@gimp.org> | 2001-09-20 15:05:44 +0000 |
---|---|---|
committer | Sven Neumann <neo@src.gnome.org> | 2001-09-20 15:05:44 +0000 |
commit | cab449096df5d3e2029719ab212ea3701e9f3b87 (patch) | |
tree | abd8bb48b0a8d6d05ff35a3e153b7c656a21b85d | |
parent | dcedbae1f26c84d87c48e55bc934025bdabdea9c (diff) | |
download | pango-cab449096df5d3e2029719ab212ea3701e9f3b87.tar.gz |
unset the static_family flag so the family_name gets freed on the next
2001-09-20 Sven Neumann <sven@gimp.org>
* pango/fonts.c (pango_font_description_set_family,
pango_font_description_copy): unset the static_family flag so the
family_name gets freed on the next call.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | ChangeLog.pre-1-0 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-1-10 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-1-2 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-1-4 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-1-6 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-1-8 | 6 | ||||
-rw-r--r-- | pango/fonts.c | 2 |
8 files changed, 44 insertions, 0 deletions
@@ -1,3 +1,9 @@ +2001-09-20 Sven Neumann <sven@gimp.org> + + * pango/fonts.c (pango_font_description_set_family, + pango_font_description_copy): unset the static_family flag so the + family_name gets freed on the next call. + 2001-09-20 James Henstridge <james@daa.com.au> * pango/Makefile.am (s-enum-types-c): fix rule so that flags get diff --git a/ChangeLog.pre-1-0 b/ChangeLog.pre-1-0 index 545d19ae..01381a67 100644 --- a/ChangeLog.pre-1-0 +++ b/ChangeLog.pre-1-0 @@ -1,3 +1,9 @@ +2001-09-20 Sven Neumann <sven@gimp.org> + + * pango/fonts.c (pango_font_description_set_family, + pango_font_description_copy): unset the static_family flag so the + family_name gets freed on the next call. + 2001-09-20 James Henstridge <james@daa.com.au> * pango/Makefile.am (s-enum-types-c): fix rule so that flags get diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10 index 545d19ae..01381a67 100644 --- a/ChangeLog.pre-1-10 +++ b/ChangeLog.pre-1-10 @@ -1,3 +1,9 @@ +2001-09-20 Sven Neumann <sven@gimp.org> + + * pango/fonts.c (pango_font_description_set_family, + pango_font_description_copy): unset the static_family flag so the + family_name gets freed on the next call. + 2001-09-20 James Henstridge <james@daa.com.au> * pango/Makefile.am (s-enum-types-c): fix rule so that flags get diff --git a/ChangeLog.pre-1-2 b/ChangeLog.pre-1-2 index 545d19ae..01381a67 100644 --- a/ChangeLog.pre-1-2 +++ b/ChangeLog.pre-1-2 @@ -1,3 +1,9 @@ +2001-09-20 Sven Neumann <sven@gimp.org> + + * pango/fonts.c (pango_font_description_set_family, + pango_font_description_copy): unset the static_family flag so the + family_name gets freed on the next call. + 2001-09-20 James Henstridge <james@daa.com.au> * pango/Makefile.am (s-enum-types-c): fix rule so that flags get diff --git a/ChangeLog.pre-1-4 b/ChangeLog.pre-1-4 index 545d19ae..01381a67 100644 --- a/ChangeLog.pre-1-4 +++ b/ChangeLog.pre-1-4 @@ -1,3 +1,9 @@ +2001-09-20 Sven Neumann <sven@gimp.org> + + * pango/fonts.c (pango_font_description_set_family, + pango_font_description_copy): unset the static_family flag so the + family_name gets freed on the next call. + 2001-09-20 James Henstridge <james@daa.com.au> * pango/Makefile.am (s-enum-types-c): fix rule so that flags get diff --git a/ChangeLog.pre-1-6 b/ChangeLog.pre-1-6 index 545d19ae..01381a67 100644 --- a/ChangeLog.pre-1-6 +++ b/ChangeLog.pre-1-6 @@ -1,3 +1,9 @@ +2001-09-20 Sven Neumann <sven@gimp.org> + + * pango/fonts.c (pango_font_description_set_family, + pango_font_description_copy): unset the static_family flag so the + family_name gets freed on the next call. + 2001-09-20 James Henstridge <james@daa.com.au> * pango/Makefile.am (s-enum-types-c): fix rule so that flags get diff --git a/ChangeLog.pre-1-8 b/ChangeLog.pre-1-8 index 545d19ae..01381a67 100644 --- a/ChangeLog.pre-1-8 +++ b/ChangeLog.pre-1-8 @@ -1,3 +1,9 @@ +2001-09-20 Sven Neumann <sven@gimp.org> + + * pango/fonts.c (pango_font_description_set_family, + pango_font_description_copy): unset the static_family flag so the + family_name gets freed on the next call. + 2001-09-20 James Henstridge <james@daa.com.au> * pango/Makefile.am (s-enum-types-c): fix rule so that flags get diff --git a/pango/fonts.c b/pango/fonts.c index 0d0569ef..cb997955 100644 --- a/pango/fonts.c +++ b/pango/fonts.c @@ -108,6 +108,7 @@ pango_font_description_set_family (PangoFontDescription *desc, { desc->family_name = g_strdup (family); desc->mask |= PANGO_FONT_MASK_FAMILY; + desc->static_family = FALSE; } else { @@ -570,6 +571,7 @@ pango_font_description_copy (const PangoFontDescription *desc) *result = *desc; result->family_name = g_strdup (result->family_name); + result->static_family = FALSE; return result; } |