Commit 6b2c01cc authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

fine-tuning.

2005-11-05  Sven Neumann  <sven@gimp.org>

	* app/plug-in/plug-ins.c (plug_ins_init): fine-tuning.
parent 5997c7dd
2005-11-05 Sven Neumann <sven@gimp.org>
* app/plug-in/plug-ins.c (plug_ins_init): fine-tuning.
2005-11-05 Sven Neumann <sven@gimp.org>
* tools/pdbgen/app.pl: removed calls to the splash update function
......
......@@ -148,7 +148,7 @@ plug_ins_init (Gimp *gimp,
/* query any plug-ins that have changed since we last wrote out
* the pluginrc file
*/
status_callback (_("Querying new Plug-ins"), "", 0);
status_callback (_("Querying new Plug-ins"), "", 0.0);
for (list = gimp->plug_in_defs, n_plugins = 0; list; list = list->next)
{
......@@ -170,7 +170,8 @@ plug_ins_init (Gimp *gimp,
continue;
basename = g_filename_display_basename (plug_in_def->prog);
status_callback (NULL, basename, (gdouble) nth / (gdouble) n_plugins);
status_callback (NULL, basename,
(gdouble) nth / (gdouble) n_plugins);
g_free (basename);
if (gimp->be_verbose)
......@@ -181,10 +182,8 @@ plug_ins_init (Gimp *gimp,
}
}
status_callback (NULL, NULL, 1.0);
/* initialize the plug-ins */
status_callback (_("Initializing Plug-ins"), "", 0);
status_callback (_("Initializing Plug-ins"), "", 0.0);
for (list = gimp->plug_in_defs, n_plugins = 0; list; list = list->next)
{
......@@ -204,7 +203,8 @@ plug_ins_init (Gimp *gimp,
continue;
basename = g_filename_display_basename (plug_in_def->prog);
status_callback (NULL, basename, (gdouble) nth / (gdouble) n_plugins);
status_callback (NULL, basename,
(gdouble) nth / (gdouble) n_plugins);
g_free (basename);
if (gimp->be_verbose)
......@@ -215,7 +215,7 @@ plug_ins_init (Gimp *gimp,
}
}
status_callback (NULL, NULL, 1.0);
status_callback (NULL, "", 1.0);
/* insert the proc defs */
for (list = gimp->plug_in_defs; list; list = list->next)
......@@ -335,7 +335,7 @@ plug_ins_init (Gimp *gimp,
{
GList *list;
status_callback (_("Starting Extensions"), "", 0);
status_callback (_("Starting Extensions"), "", 0.0);
for (list = extensions, nth = 0; list; list = g_list_next (list), nth++)
{
......@@ -351,11 +351,11 @@ plug_ins_init (Gimp *gimp,
NULL, 0, FALSE, TRUE, -1);
}
status_callback (NULL, NULL, 1.0);
g_list_free (extensions);
}
status_callback ("", "", 1.0);
/* free up stuff */
for (list = gimp->plug_in_defs; list; list = list->next)
plug_in_def_free (list->data, FALSE);
......
......@@ -148,7 +148,7 @@ plug_ins_init (Gimp *gimp,
/* query any plug-ins that have changed since we last wrote out
* the pluginrc file
*/
status_callback (_("Querying new Plug-ins"), "", 0);
status_callback (_("Querying new Plug-ins"), "", 0.0);
for (list = gimp->plug_in_defs, n_plugins = 0; list; list = list->next)
{
......@@ -170,7 +170,8 @@ plug_ins_init (Gimp *gimp,
continue;
basename = g_filename_display_basename (plug_in_def->prog);
status_callback (NULL, basename, (gdouble) nth / (gdouble) n_plugins);
status_callback (NULL, basename,
(gdouble) nth / (gdouble) n_plugins);
g_free (basename);
if (gimp->be_verbose)
......@@ -181,10 +182,8 @@ plug_ins_init (Gimp *gimp,
}
}
status_callback (NULL, NULL, 1.0);
/* initialize the plug-ins */
status_callback (_("Initializing Plug-ins"), "", 0);
status_callback (_("Initializing Plug-ins"), "", 0.0);
for (list = gimp->plug_in_defs, n_plugins = 0; list; list = list->next)
{
......@@ -204,7 +203,8 @@ plug_ins_init (Gimp *gimp,
continue;
basename = g_filename_display_basename (plug_in_def->prog);
status_callback (NULL, basename, (gdouble) nth / (gdouble) n_plugins);
status_callback (NULL, basename,
(gdouble) nth / (gdouble) n_plugins);
g_free (basename);
if (gimp->be_verbose)
......@@ -215,7 +215,7 @@ plug_ins_init (Gimp *gimp,
}
}
status_callback (NULL, NULL, 1.0);
status_callback (NULL, "", 1.0);
/* insert the proc defs */
for (list = gimp->plug_in_defs; list; list = list->next)
......@@ -335,7 +335,7 @@ plug_ins_init (Gimp *gimp,
{
GList *list;
status_callback (_("Starting Extensions"), "", 0);
status_callback (_("Starting Extensions"), "", 0.0);
for (list = extensions, nth = 0; list; list = g_list_next (list), nth++)
{
......@@ -351,11 +351,11 @@ plug_ins_init (Gimp *gimp,
NULL, 0, FALSE, TRUE, -1);
}
status_callback (NULL, NULL, 1.0);
g_list_free (extensions);
}
status_callback ("", "", 1.0);
/* free up stuff */
for (list = gimp->plug_in_defs; list; list = list->next)
plug_in_def_free (list->data, FALSE);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment