use G_STRFUNC to get the proper function name in the error message.
2008-08-14 Sven Neumann <sven@gimp.org> * app/plug-in/gimpplugin-message.c (gimp_plug_in_handle_tile_get): use G_STRFUNC to get the proper function name in the error message. svn path=/trunk/; revision=26564
This commit is contained in:

committed by
Sven Neumann

parent
a56fd032f6
commit
9884974e53
@ -1,3 +1,8 @@
|
||||
2008-08-14 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/plug-in/gimpplugin-message.c (gimp_plug_in_handle_tile_get):
|
||||
use G_STRFUNC to get the proper function name in the error message.
|
||||
|
||||
2008-08-14 Martin Nordholts <martinn@svn.gnome.org>
|
||||
|
||||
* app/display/gimpdisplayshell-scale.c
|
||||
|
@ -205,7 +205,7 @@ gimp_plug_in_handle_tile_put (GimpPlugIn *plug_in,
|
||||
if (! gp_tile_data_write (plug_in->my_write, &tile_data, plug_in))
|
||||
{
|
||||
gimp_message (plug_in->manager->gimp, NULL, GIMP_MESSAGE_ERROR,
|
||||
"plug_in_handle_tile_request: ERROR");
|
||||
"%s: ERROR", G_STRFUNC);
|
||||
gimp_plug_in_close (plug_in, TRUE);
|
||||
return;
|
||||
}
|
||||
@ -213,7 +213,7 @@ gimp_plug_in_handle_tile_put (GimpPlugIn *plug_in,
|
||||
if (! gimp_wire_read_msg (plug_in->my_read, &msg, plug_in))
|
||||
{
|
||||
gimp_message (plug_in->manager->gimp, NULL, GIMP_MESSAGE_ERROR,
|
||||
"plug_in_handle_tile_request: ERROR");
|
||||
"%s: ERROR", G_STRFUNC);
|
||||
gimp_plug_in_close (plug_in, TRUE);
|
||||
return;
|
||||
}
|
||||
@ -294,7 +294,7 @@ gimp_plug_in_handle_tile_put (GimpPlugIn *plug_in,
|
||||
if (! gp_tile_ack_write (plug_in->my_write, plug_in))
|
||||
{
|
||||
gimp_message (plug_in->manager->gimp, NULL, GIMP_MESSAGE_ERROR,
|
||||
"plug_in_handle_tile_request: ERROR");
|
||||
"%s: ERROR", G_STRFUNC);
|
||||
gimp_plug_in_close (plug_in, TRUE);
|
||||
return;
|
||||
}
|
||||
@ -379,7 +379,7 @@ gimp_plug_in_handle_tile_get (GimpPlugIn *plug_in,
|
||||
if (! gp_tile_data_write (plug_in->my_write, &tile_data, plug_in))
|
||||
{
|
||||
gimp_message (plug_in->manager->gimp, NULL, GIMP_MESSAGE_ERROR,
|
||||
"plug_in_handle_tile_request: ERROR");
|
||||
"%s: ERROR", G_STRFUNC);
|
||||
gimp_plug_in_close (plug_in, TRUE);
|
||||
return;
|
||||
}
|
||||
@ -389,7 +389,7 @@ gimp_plug_in_handle_tile_get (GimpPlugIn *plug_in,
|
||||
if (! gimp_wire_read_msg (plug_in->my_read, &msg, plug_in))
|
||||
{
|
||||
gimp_message (plug_in->manager->gimp, NULL, GIMP_MESSAGE_ERROR,
|
||||
"plug_in_handle_tile_request: ERROR");
|
||||
"%s: ERROR", G_STRFUNC);
|
||||
gimp_plug_in_close (plug_in, TRUE);
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user