diff options
author | Matthias Clasen <maclas@gmx.de> | 2003-07-11 20:36:25 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2003-07-11 20:36:25 +0000 |
commit | aa013939bf8c7d047125897865fbc5601e620589 (patch) | |
tree | 7ae5562d7a17d434faefbcb9525ab7794d6ba7e6 /gdk-pixbuf/gdk-pixbuf-io.c | |
parent | 50da0ae808262ba787204baf6a9f544edf8aee25 (diff) | |
download | gdk-pixbuf-aa013939bf8c7d047125897865fbc5601e620589.tar.gz |
Use g_strfreev() to free mime_types. (#117219, Steve Chaplin)
2003-07-11 Matthias Clasen <maclas@gmx.de>
* gtk/gtkicontheme.c (pixbuf_supports_svg): Use g_strfreev() to free mime_types.
(#117219, Steve Chaplin)
* queryloaders.c (query_module): Handle absolute filenames properly. (#117170, Jens Elkner)
* gdk-pixbuf-io.c: Mention that NULL-terminated arrays returned by
gdk_pixbuf_format_get_mime_types() and gdk_pixbuf_format_get_extensions() must be
freed with g_strfreev().
Diffstat (limited to 'gdk-pixbuf/gdk-pixbuf-io.c')
-rw-r--r-- | gdk-pixbuf/gdk-pixbuf-io.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gdk-pixbuf/gdk-pixbuf-io.c b/gdk-pixbuf/gdk-pixbuf-io.c index afb376eee..5f831f3e4 100644 --- a/gdk-pixbuf/gdk-pixbuf-io.c +++ b/gdk-pixbuf/gdk-pixbuf-io.c @@ -1036,7 +1036,7 @@ gdk_pixbuf_format_get_name (GdkPixbufFormat *format) * * Returns a description of the format. * - * Return value: a description of the format. + * Return value: a description of the format. * * Since: 2.2 */ @@ -1062,7 +1062,8 @@ gdk_pixbuf_format_get_description (GdkPixbufFormat *format) * * Returns the mime types supported by the format. * - * Return value: a %NULL-terminated array of mime types. + * Return value: a %NULL-terminated array of mime types which must be freed with + * g_strfreev() when it is no longer needed. * * Since: 2.2 */ @@ -1081,7 +1082,8 @@ gdk_pixbuf_format_get_mime_types (GdkPixbufFormat *format) * Returns the filename extensions typically used for files in the * given format. * - * Return value: a %NULL-terminated array of filename extensions. + * Return value: a %NULL-terminated array of filename extensions which must be + * freed with g_strfreev() when it is no longer needed. * * Since: 2.2 */ |