diff --git a/app/plug-in/gimppluginprocedure.c b/app/plug-in/gimppluginprocedure.c index 6556640bba..478f03cc5d 100644 --- a/app/plug-in/gimppluginprocedure.c +++ b/app/plug-in/gimppluginprocedure.c @@ -635,8 +635,7 @@ gimp_plug_in_procedure_add_menu_path (GimpPlugInProcedure *proc, goto failure; } - if (g_str_has_prefix (menu_path, "") || - g_str_has_prefix (menu_path, "")) + if (g_str_has_prefix (menu_path, "")) { if ((procedure->num_args < 1) || ! GIMP_IS_PARAM_SPEC_INT32 (procedure->args[0])) diff --git a/app/plug-in/plug-in-menu-path.c b/app/plug-in/plug-in-menu-path.c index 07f14c1f64..b349277783 100644 --- a/app/plug-in/plug-in-menu-path.c +++ b/app/plug-in/plug-in-menu-path.c @@ -42,26 +42,6 @@ struct _MenuPathMapping static const MenuPathMapping menu_path_mappings[] = { - { "/Xtns/Languages", NULL, "/Filters/Languages" }, - { "/Xtns/Extensions", NULL, "/Filters/Extensions" }, - - { "/Xtns/Buttons", NULL, "/File/Create/Buttons" }, - { "/Xtns/Logos", NULL, "/File/Create/Logos" }, - { "/Xtns/Misc", NULL, "/File/Create/Misc" }, - { "/Xtns/Patterns", NULL, "/File/Create/Patterns" }, - { "/Xtns/Web Page Themes", NULL, "/File/Create/Web Page Themes" }, - - { "/Xtns", "Buttons", "/File/Create" }, - { "/Xtns", "Logos", "/File/Create" }, - { "/Xtns", "Misc", "/File/Create" }, - { "/Xtns", "Patterns", "/File/Create" }, - { "/Xtns", "Web Page Themes", "/File/Create" }, - - { "/Xtns", NULL, "/Filters/Extensions" }, - { "/Help", NULL, "/Help" }, - - { "/File/Acquire", NULL, "/File/Create/Acquire" }, - { "", NULL, "" }, { "/File/Acquire", NULL, "/File/Create/Acquire" }, { "/File/New", NULL, "/File/Create" }, { "/Image/Mode/Color Profile", NULL, "/Image/Color Management" },