[gimp] app: Small --dump-pdb-procedures-deprecated cleanup
- From: Martin Nordholts <martinn src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: Small --dump-pdb-procedures-deprecated cleanup
- Date: Fri, 6 May 2011 05:26:54 +0000 (UTC)
commit dfc11599d1f1641deb73d96ab47ba42eb77c34bc
Author: Martin Nordholts <martinn src gnome org>
Date: Fri May 6 07:29:01 2011 +0200
app: Small --dump-pdb-procedures-deprecated cleanup
app/main.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/app/main.c b/app/main.c
index 03466d0..063ccf5 100644
--- a/app/main.c
+++ b/app/main.c
@@ -268,7 +268,7 @@ static const GOptionEntry main_entries[] =
"dump-pdb-procedures-deprecated", 0,
G_OPTION_FLAG_NO_ARG | G_OPTION_FLAG_HIDDEN,
G_OPTION_ARG_CALLBACK, gimp_option_dump_pdb_procedures_deprecated,
- N_("Output a gimprc file with default settings"), NULL
+ N_("Output a sorted list of deprecated procedures in the PDB"), NULL
},
{
G_OPTION_REMAINING, 0, 0,
@@ -621,13 +621,15 @@ gimp_option_dump_pdb_procedures_deprecated (const gchar *option_name,
gimp = g_object_new (GIMP_TYPE_GIMP, NULL);
- /* Make sure to turn of on compatibility mode so deprecated
- * procedure are included
+ /* Make sure to turn on compatibility mode so deprecated procedures
+ * are included
*/
gimp->pdb_compat_mode = GIMP_PDB_COMPAT_ON;
+ /* Initialize the list of procedures */
internal_procs_init (gimp->pdb);
+ /* Get deprecated procedures */
deprecated_procs = gimp_pdb_get_deprecated_procedures (gimp->pdb);
for (iter = deprecated_procs; iter; iter = g_list_next (iter))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]