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:
committed by
Matthias Clasen
parent
b2484c8f95
commit
b738ec5cd4
@@ -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:
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user