
2006-04-27 Michael Natterer <mitch@gimp.org> * app/plug-in/plug-in-locale-domain.[ch] (plug_in_locale_domains): new function which returns string arrays of all registered locale domains and paths. (plug_in_standard_locale_domain): removed this function. The standard plug-in domain is included in the domains returned by plug_in_locale_domains(). * app/plug-in/plug-ins.c (plug_ins_init): simply bind the text domains here instead of calling gimp_menus_init(). Destroy gimp->plug_in_defs much earlier. * app/core/gimp-gui.[ch] * app/gui/gui-vtable.c: removed gimp_menus_init(). * app/menus/plug-in-menus.[ch]: removed plug_in_menus_init(), binding text domains is completely done in the core now.
28 lines
1020 B
C
28 lines
1020 B
C
/* The GIMP -- an image manipulation program
|
|
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
*/
|
|
|
|
#ifndef __PLUG_IN_MENUS_H__
|
|
#define __PLUG_IN_MENUS_H__
|
|
|
|
|
|
void plug_in_menus_setup (GimpUIManager *manager,
|
|
const gchar *ui_path);
|
|
|
|
|
|
#endif /* __PLUG_IN_MENUS_H__ */
|