mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-20 19:43:01 +00:00
app/plug-in/plug-ins.c (plug_ins_init) changed g_warning() to g_printerr()
2004-02-11 Sven Neumann <sven@gimp.org> * app/plug-in/plug-ins.c (plug_ins_init) * app/plug-in/plug-in.c (plug_in_close): changed g_warning() to g_printerr() in a few places where the problem is not an error in GIMP but a misbehaving plug-in. Suppress some of this output in the stable branch.
This commit is contained in:
parent
664a8d89e9
commit
e135de65a5
|
@ -1,3 +1,11 @@
|
|||
2004-02-11 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/plug-in/plug-ins.c (plug_ins_init)
|
||||
* app/plug-in/plug-in.c (plug_in_close): changed g_warning() to
|
||||
g_printerr() in a few places where the problem is not an error in
|
||||
GIMP but a misbehaving plug-in. Suppress some of this output in
|
||||
the stable branch.
|
||||
|
||||
2004-02-10 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/gui/preferences-dialog.c (prefs_dialog_new): removed "Default"
|
||||
|
|
|
@ -603,24 +603,30 @@ plug_in_close (PlugIn *plug_in,
|
|||
|
||||
while (plug_in->temp_main_loops)
|
||||
{
|
||||
g_warning ("plug_in_close: plug-in aborted before sending its "
|
||||
"temporary procedure return values");
|
||||
#ifdef GIMP_UNSTABLE
|
||||
g_printerr ("plug_in_close: plug-in aborted before sending its "
|
||||
"temporary procedure return values\n");
|
||||
#endif
|
||||
plug_in_main_loop_quit (plug_in);
|
||||
}
|
||||
|
||||
if (plug_in->recurse_main_loop &&
|
||||
g_main_loop_is_running (plug_in->recurse_main_loop))
|
||||
{
|
||||
g_warning ("plug_in_close: plug-in aborted before sending its "
|
||||
"procedure return values");
|
||||
#ifdef GIMP_UNSTABLE
|
||||
g_printerr ("plug_in_close: plug-in aborted before sending its "
|
||||
"procedure return values\n");
|
||||
#endif
|
||||
g_main_loop_quit (plug_in->recurse_main_loop);
|
||||
}
|
||||
|
||||
if (plug_in->ext_main_loop &&
|
||||
g_main_loop_is_running (plug_in->ext_main_loop))
|
||||
{
|
||||
g_warning ("plug_in_close: extension aborted before sending its "
|
||||
"extension_ack message");
|
||||
#ifdef GIMP_UNSTABLE
|
||||
g_printerr ("plug_in_close: extension aborted before sending its "
|
||||
"extension_ack message\n");
|
||||
#endif
|
||||
g_main_loop_quit (plug_in->ext_main_loop);
|
||||
}
|
||||
|
||||
|
|
|
@ -189,8 +189,10 @@ plug_ins_init (Gimp *gimp,
|
|||
{
|
||||
GSList *tmp3;
|
||||
|
||||
g_warning ("removing duplicate PDB procedure \"%s\"",
|
||||
overridden_proc_def->db_info.name);
|
||||
g_printerr ("removing duplicate PDB procedure \"%s\" "
|
||||
"registered by '%s'\n",
|
||||
overridden_proc_def->db_info.name,
|
||||
gimp_filename_to_utf8 (overridden_proc_def->prog));
|
||||
|
||||
/* search the plugin list to see if any plugins had references to
|
||||
* the overridden_proc_def.
|
||||
|
@ -847,8 +849,8 @@ plug_ins_image_types_parse (gchar *image_types)
|
|||
}
|
||||
else
|
||||
{
|
||||
g_warning ("image_type contains unrecognizable parts: '%s'",
|
||||
type_spec);
|
||||
g_printerr ("image_type contains unrecognizable parts: '%s'\n",
|
||||
type_spec);
|
||||
|
||||
while (*image_types &&
|
||||
((*image_types != ' ') ||
|
||||
|
|
|
@ -603,24 +603,30 @@ plug_in_close (PlugIn *plug_in,
|
|||
|
||||
while (plug_in->temp_main_loops)
|
||||
{
|
||||
g_warning ("plug_in_close: plug-in aborted before sending its "
|
||||
"temporary procedure return values");
|
||||
#ifdef GIMP_UNSTABLE
|
||||
g_printerr ("plug_in_close: plug-in aborted before sending its "
|
||||
"temporary procedure return values\n");
|
||||
#endif
|
||||
plug_in_main_loop_quit (plug_in);
|
||||
}
|
||||
|
||||
if (plug_in->recurse_main_loop &&
|
||||
g_main_loop_is_running (plug_in->recurse_main_loop))
|
||||
{
|
||||
g_warning ("plug_in_close: plug-in aborted before sending its "
|
||||
"procedure return values");
|
||||
#ifdef GIMP_UNSTABLE
|
||||
g_printerr ("plug_in_close: plug-in aborted before sending its "
|
||||
"procedure return values\n");
|
||||
#endif
|
||||
g_main_loop_quit (plug_in->recurse_main_loop);
|
||||
}
|
||||
|
||||
if (plug_in->ext_main_loop &&
|
||||
g_main_loop_is_running (plug_in->ext_main_loop))
|
||||
{
|
||||
g_warning ("plug_in_close: extension aborted before sending its "
|
||||
"extension_ack message");
|
||||
#ifdef GIMP_UNSTABLE
|
||||
g_printerr ("plug_in_close: extension aborted before sending its "
|
||||
"extension_ack message\n");
|
||||
#endif
|
||||
g_main_loop_quit (plug_in->ext_main_loop);
|
||||
}
|
||||
|
||||
|
|
|
@ -189,8 +189,10 @@ plug_ins_init (Gimp *gimp,
|
|||
{
|
||||
GSList *tmp3;
|
||||
|
||||
g_warning ("removing duplicate PDB procedure \"%s\"",
|
||||
overridden_proc_def->db_info.name);
|
||||
g_printerr ("removing duplicate PDB procedure \"%s\" "
|
||||
"registered by '%s'\n",
|
||||
overridden_proc_def->db_info.name,
|
||||
gimp_filename_to_utf8 (overridden_proc_def->prog));
|
||||
|
||||
/* search the plugin list to see if any plugins had references to
|
||||
* the overridden_proc_def.
|
||||
|
@ -847,8 +849,8 @@ plug_ins_image_types_parse (gchar *image_types)
|
|||
}
|
||||
else
|
||||
{
|
||||
g_warning ("image_type contains unrecognizable parts: '%s'",
|
||||
type_spec);
|
||||
g_printerr ("image_type contains unrecognizable parts: '%s'\n",
|
||||
type_spec);
|
||||
|
||||
while (*image_types &&
|
||||
((*image_types != ' ') ||
|
||||
|
|
Loading…
Reference in a new issue