mirror of https://github.com/GNOME/gimp.git
app/app.c app/batch.c app/core/gimp.c use G_STRLOC instead of hardcoding
2008-02-19 Sven Neumann <sven@gimp.org> * app/app.c * app/batch.c * app/core/gimp.c * app/gui/gui.c: use G_STRLOC instead of hardcoding the function name in verbose output. svn path=/trunk/; revision=24922
This commit is contained in:
parent
b2f0d445c5
commit
c1e09363c7
|
@ -1,3 +1,11 @@
|
||||||
|
2008-02-19 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
|
* app/app.c
|
||||||
|
* app/batch.c
|
||||||
|
* app/core/gimp.c
|
||||||
|
* app/gui/gui.c: use G_STRLOC instead of hardcoding the function
|
||||||
|
name in verbose output.
|
||||||
|
|
||||||
2008-02-19 Sven Neumann <sven@gimp.org>
|
2008-02-19 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
* plug-ins/script-fu/scripts/glossy.scm: actually use the "Default
|
* plug-ins/script-fu/scripts/glossy.scm: actually use the "Default
|
||||||
|
|
|
@ -273,7 +273,7 @@ app_exit_after_callback (Gimp *gimp,
|
||||||
GMainLoop *loop)
|
GMainLoop *loop)
|
||||||
{
|
{
|
||||||
if (gimp->be_verbose)
|
if (gimp->be_verbose)
|
||||||
g_print ("EXIT: app_exit_after_callback\n");
|
g_print ("EXIT: %s\n", G_STRFUNC);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* In stable releases, we simply call exit() here. This speeds up
|
* In stable releases, we simply call exit() here. This speeds up
|
||||||
|
|
|
@ -127,7 +127,7 @@ static gboolean
|
||||||
batch_exit_after_callback (Gimp *gimp)
|
batch_exit_after_callback (Gimp *gimp)
|
||||||
{
|
{
|
||||||
if (gimp->be_verbose)
|
if (gimp->be_verbose)
|
||||||
g_print ("EXIT: batch_exit_after_callback\n");
|
g_print ("EXIT: %s\n", G_STRFUNC);
|
||||||
|
|
||||||
gegl_exit ();
|
gegl_exit ();
|
||||||
|
|
||||||
|
|
|
@ -255,7 +255,7 @@ gimp_dispose (GObject *object)
|
||||||
Gimp *gimp = GIMP (object);
|
Gimp *gimp = GIMP (object);
|
||||||
|
|
||||||
if (gimp->be_verbose)
|
if (gimp->be_verbose)
|
||||||
g_print ("EXIT: gimp_dispose\n");
|
g_print ("EXIT: %s\n", G_STRFUNC);
|
||||||
|
|
||||||
if (gimp->brush_factory)
|
if (gimp->brush_factory)
|
||||||
gimp_data_factory_data_free (gimp->brush_factory);
|
gimp_data_factory_data_free (gimp->brush_factory);
|
||||||
|
@ -278,7 +278,7 @@ gimp_finalize (GObject *object)
|
||||||
Gimp *gimp = GIMP (object);
|
Gimp *gimp = GIMP (object);
|
||||||
|
|
||||||
if (gimp->be_verbose)
|
if (gimp->be_verbose)
|
||||||
g_print ("EXIT: gimp_finalize\n");
|
g_print ("EXIT: %s\n", G_STRFUNC);
|
||||||
|
|
||||||
gimp_contexts_exit (gimp);
|
gimp_contexts_exit (gimp);
|
||||||
|
|
||||||
|
@ -523,7 +523,7 @@ gimp_real_initialize (Gimp *gimp,
|
||||||
GimpData *clipboard_pattern;
|
GimpData *clipboard_pattern;
|
||||||
|
|
||||||
if (gimp->be_verbose)
|
if (gimp->be_verbose)
|
||||||
g_print ("INIT: gimp_real_initialize\n");
|
g_print ("INIT: %s\n", G_STRFUNC);
|
||||||
|
|
||||||
status_callback (_("Initialization"), NULL, 0.0);
|
status_callback (_("Initialization"), NULL, 0.0);
|
||||||
|
|
||||||
|
@ -614,7 +614,7 @@ gimp_real_restore (Gimp *gimp,
|
||||||
GimpInitStatusFunc status_callback)
|
GimpInitStatusFunc status_callback)
|
||||||
{
|
{
|
||||||
if (gimp->be_verbose)
|
if (gimp->be_verbose)
|
||||||
g_print ("INIT: gimp_real_restore\n");
|
g_print ("INIT: %s\n", G_STRFUNC);
|
||||||
|
|
||||||
gimp_plug_in_manager_restore (gimp->plug_in_manager,
|
gimp_plug_in_manager_restore (gimp->plug_in_manager,
|
||||||
gimp_get_user_context (gimp), status_callback);
|
gimp_get_user_context (gimp), status_callback);
|
||||||
|
@ -627,7 +627,7 @@ gimp_real_exit (Gimp *gimp,
|
||||||
GError *error = NULL;
|
GError *error = NULL;
|
||||||
|
|
||||||
if (gimp->be_verbose)
|
if (gimp->be_verbose)
|
||||||
g_print ("EXIT: gimp_real_exit\n");
|
g_print ("EXIT: %s\n", G_STRFUNC);
|
||||||
|
|
||||||
gimp_plug_in_manager_exit (gimp->plug_in_manager);
|
gimp_plug_in_manager_exit (gimp->plug_in_manager);
|
||||||
gimp_modules_unload (gimp);
|
gimp_modules_unload (gimp);
|
||||||
|
@ -775,7 +775,7 @@ gimp_load_config (Gimp *gimp,
|
||||||
g_return_if_fail (gimp->edit_config == NULL);
|
g_return_if_fail (gimp->edit_config == NULL);
|
||||||
|
|
||||||
if (gimp->be_verbose)
|
if (gimp->be_verbose)
|
||||||
g_print ("INIT: gimp_load_config\n");
|
g_print ("INIT: %s\n", G_STRFUNC);
|
||||||
|
|
||||||
/* this needs to be done before gimprc loading because gimprc can
|
/* this needs to be done before gimprc loading because gimprc can
|
||||||
* use user defined units
|
* use user defined units
|
||||||
|
@ -807,7 +807,7 @@ gimp_initialize (Gimp *gimp,
|
||||||
g_return_if_fail (GIMP_IS_CORE_CONFIG (gimp->config));
|
g_return_if_fail (GIMP_IS_CORE_CONFIG (gimp->config));
|
||||||
|
|
||||||
if (gimp->be_verbose)
|
if (gimp->be_verbose)
|
||||||
g_print ("INIT: gimp_initialize\n");
|
g_print ("INIT: %s\n", G_STRFUNC);
|
||||||
|
|
||||||
g_signal_emit (gimp, gimp_signals[INITIALIZE], 0, status_callback);
|
g_signal_emit (gimp, gimp_signals[INITIALIZE], 0, status_callback);
|
||||||
}
|
}
|
||||||
|
@ -822,7 +822,7 @@ gimp_restore (Gimp *gimp,
|
||||||
g_return_if_fail (status_callback != NULL);
|
g_return_if_fail (status_callback != NULL);
|
||||||
|
|
||||||
if (gimp->be_verbose)
|
if (gimp->be_verbose)
|
||||||
g_print ("INIT: gimp_restore\n");
|
g_print ("INIT: %s\n", G_STRFUNC);
|
||||||
|
|
||||||
/* initialize the global parasite table */
|
/* initialize the global parasite table */
|
||||||
status_callback (_("Looking for data files"), _("Parasites"), 0.0);
|
status_callback (_("Looking for data files"), _("Parasites"), 0.0);
|
||||||
|
@ -885,7 +885,7 @@ gimp_exit (Gimp *gimp,
|
||||||
g_return_if_fail (GIMP_IS_GIMP (gimp));
|
g_return_if_fail (GIMP_IS_GIMP (gimp));
|
||||||
|
|
||||||
if (gimp->be_verbose)
|
if (gimp->be_verbose)
|
||||||
g_print ("EXIT: gimp_exit\n");
|
g_print ("EXIT: %s\n", G_STRFUNC);
|
||||||
|
|
||||||
g_signal_emit (gimp, gimp_signals[EXIT], 0,
|
g_signal_emit (gimp, gimp_signals[EXIT], 0,
|
||||||
force ? TRUE : FALSE,
|
force ? TRUE : FALSE,
|
||||||
|
|
|
@ -338,7 +338,7 @@ gui_initialize_after_callback (Gimp *gimp,
|
||||||
g_return_if_fail (GIMP_IS_GIMP (gimp));
|
g_return_if_fail (GIMP_IS_GIMP (gimp));
|
||||||
|
|
||||||
if (gimp->be_verbose)
|
if (gimp->be_verbose)
|
||||||
g_print ("INIT: gui_initialize_after_callback\n");
|
g_print ("INIT: %s\n", G_STRFUNC);
|
||||||
|
|
||||||
#if defined (GDK_WINDOWING_X11)
|
#if defined (GDK_WINDOWING_X11)
|
||||||
name = "DISPLAY";
|
name = "DISPLAY";
|
||||||
|
@ -372,7 +372,7 @@ gui_restore_callback (Gimp *gimp,
|
||||||
GimpGuiConfig *gui_config = GIMP_GUI_CONFIG (gimp->config);
|
GimpGuiConfig *gui_config = GIMP_GUI_CONFIG (gimp->config);
|
||||||
|
|
||||||
if (gimp->be_verbose)
|
if (gimp->be_verbose)
|
||||||
g_print ("INIT: gui_restore_callback\n");
|
g_print ("INIT: %s\n", G_STRFUNC);
|
||||||
|
|
||||||
gui_vtable_init (gimp);
|
gui_vtable_init (gimp);
|
||||||
|
|
||||||
|
@ -447,7 +447,7 @@ gui_restore_after_callback (Gimp *gimp,
|
||||||
GimpGuiConfig *gui_config = GIMP_GUI_CONFIG (gimp->config);
|
GimpGuiConfig *gui_config = GIMP_GUI_CONFIG (gimp->config);
|
||||||
|
|
||||||
if (gimp->be_verbose)
|
if (gimp->be_verbose)
|
||||||
g_print ("INIT: gui_restore_after_callback\n");
|
g_print ("INIT: %s\n", G_STRFUNC);
|
||||||
|
|
||||||
gimp->message_handler = GIMP_MESSAGE_BOX;
|
gimp->message_handler = GIMP_MESSAGE_BOX;
|
||||||
|
|
||||||
|
@ -540,7 +540,7 @@ gui_exit_callback (Gimp *gimp,
|
||||||
GimpGuiConfig *gui_config = GIMP_GUI_CONFIG (gimp->config);
|
GimpGuiConfig *gui_config = GIMP_GUI_CONFIG (gimp->config);
|
||||||
|
|
||||||
if (gimp->be_verbose)
|
if (gimp->be_verbose)
|
||||||
g_print ("EXIT: gui_exit_callback\n");
|
g_print ("EXIT: %s\n", G_STRFUNC);
|
||||||
|
|
||||||
if (! force && gimp_displays_dirty (gimp))
|
if (! force && gimp_displays_dirty (gimp))
|
||||||
{
|
{
|
||||||
|
@ -591,7 +591,7 @@ gui_exit_after_callback (Gimp *gimp,
|
||||||
gboolean force)
|
gboolean force)
|
||||||
{
|
{
|
||||||
if (gimp->be_verbose)
|
if (gimp->be_verbose)
|
||||||
g_print ("EXIT: gui_exit_after_callback\n");
|
g_print ("EXIT: %s\n", G_STRFUNC);
|
||||||
|
|
||||||
g_signal_handlers_disconnect_by_func (gimp->config,
|
g_signal_handlers_disconnect_by_func (gimp->config,
|
||||||
gui_show_help_button_notify,
|
gui_show_help_button_notify,
|
||||||
|
|
Loading…
Reference in New Issue