Reuse existing message to avoid unnecessary string freeze break. Noticed

Thu Sep 16 23:24:36 2004  Matthias Clasen  <maclas@gmx.de>

	* io-xpm.c (pixbuf_create_from_xpm): Reuse existing message
	to avoid unnecessary string freeze break. Noticed by Danilo
	Segan.
This commit is contained in:
Matthias Clasen
2004-09-17 03:27:01 +00:00
committed by Matthias Clasen
parent b2484c8f95
commit b738ec5cd4
2 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
Thu Sep 16 23:24:36 2004 Matthias Clasen <maclas@gmx.de>
* io-xpm.c (pixbuf_create_from_xpm): Reuse existing message
to avoid unnecessary string freeze break. Noticed by Danilo
Segan.
2004-09-15 Matthias Clasen <mclasen@redhat.com>
* io-ico.c:

View File

@@ -1269,7 +1269,7 @@ pixbuf_create_from_xpm (const gchar * (*get_buf) (enum buf_op op, gpointer handl
g_set_error (error,
GDK_PIXBUF_ERROR,
GDK_PIXBUF_ERROR_INSUFFICIENT_MEMORY,
_("Cannot allocate memory for loading XPM image"));
_("Can't allocate memory for loading XPM image"));
g_hash_table_destroy (color_hash);
return NULL;
}
@@ -1278,7 +1278,7 @@ pixbuf_create_from_xpm (const gchar * (*get_buf) (enum buf_op op, gpointer handl
g_set_error (error,
GDK_PIXBUF_ERROR,
GDK_PIXBUF_ERROR_INSUFFICIENT_MEMORY,
_("Cannot allocate memory for loading XPM image"));
_("Can't allocate memory for loading XPM image"));
g_hash_table_destroy (color_hash);
g_free (name_buf);
return NULL;