From 784870c87fb4540ab19eda47685dd28aba2a9dfd Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Tue, 9 Mar 2004 01:45:21 +0000 Subject: [PATCH] minor cleanup --- plug-ins/help/domain.c | 7 +++---- plug-ins/help/domain.h | 7 +++---- plug-ins/help/gimphelp.c | 7 +++---- plug-ins/help/gimphelpdomain.c | 7 +++---- plug-ins/help/gimphelplocale.c | 7 +++---- plug-ins/help/help.c | 6 ++++-- 6 files changed, 19 insertions(+), 22 deletions(-) diff --git a/plug-ins/help/domain.c b/plug-ins/help/domain.c index aeff53c474..867fc24f06 100644 --- a/plug-ins/help/domain.c +++ b/plug-ins/help/domain.c @@ -1,11 +1,10 @@ /* The GIMP -- an image manipulation program * Copyright (C) 1995 Spencer Kimball and Peter Mattis * - * The GIMP Help Browser - * Copyright (C) 1999-2003 Sven Neumann + * The GIMP Help plug-in + * Copyright (C) 1999-2004 Sven Neumann * Michael Natterer - * - * domain.c + * Henrik Brix Andersen * * 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 diff --git a/plug-ins/help/domain.h b/plug-ins/help/domain.h index 8e395c0e31..aa5379dac5 100644 --- a/plug-ins/help/domain.h +++ b/plug-ins/help/domain.h @@ -1,11 +1,10 @@ /* The GIMP -- an image manipulation program * Copyright (C) 1995 Spencer Kimball and Peter Mattis * - * The GIMP Help Browser - * Copyright (C) 1999-2003 Sven Neumann + * The GIMP Help plug-in + * Copyright (C) 1999-2004 Sven Neumann * Michael Natterer - * - * domain.h + * Henrik Brix Andersen * * 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 diff --git a/plug-ins/help/gimphelp.c b/plug-ins/help/gimphelp.c index aeff53c474..867fc24f06 100644 --- a/plug-ins/help/gimphelp.c +++ b/plug-ins/help/gimphelp.c @@ -1,11 +1,10 @@ /* The GIMP -- an image manipulation program * Copyright (C) 1995 Spencer Kimball and Peter Mattis * - * The GIMP Help Browser - * Copyright (C) 1999-2003 Sven Neumann + * The GIMP Help plug-in + * Copyright (C) 1999-2004 Sven Neumann * Michael Natterer - * - * domain.c + * Henrik Brix Andersen * * 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 diff --git a/plug-ins/help/gimphelpdomain.c b/plug-ins/help/gimphelpdomain.c index aeff53c474..867fc24f06 100644 --- a/plug-ins/help/gimphelpdomain.c +++ b/plug-ins/help/gimphelpdomain.c @@ -1,11 +1,10 @@ /* The GIMP -- an image manipulation program * Copyright (C) 1995 Spencer Kimball and Peter Mattis * - * The GIMP Help Browser - * Copyright (C) 1999-2003 Sven Neumann + * The GIMP Help plug-in + * Copyright (C) 1999-2004 Sven Neumann * Michael Natterer - * - * domain.c + * Henrik Brix Andersen * * 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 diff --git a/plug-ins/help/gimphelplocale.c b/plug-ins/help/gimphelplocale.c index aeff53c474..867fc24f06 100644 --- a/plug-ins/help/gimphelplocale.c +++ b/plug-ins/help/gimphelplocale.c @@ -1,11 +1,10 @@ /* The GIMP -- an image manipulation program * Copyright (C) 1995 Spencer Kimball and Peter Mattis * - * The GIMP Help Browser - * Copyright (C) 1999-2003 Sven Neumann + * The GIMP Help plug-in + * Copyright (C) 1999-2004 Sven Neumann * Michael Natterer - * - * domain.c + * Henrik Brix Andersen * * 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 diff --git a/plug-ins/help/help.c b/plug-ins/help/help.c index 072c620c0e..21a85fe40f 100644 --- a/plug-ins/help/help.c +++ b/plug-ins/help/help.c @@ -6,8 +6,6 @@ * Michael Natterer * Henrik Brix Andersen * - * Some code & ideas stolen from the GNOME help browser. - * * 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 @@ -33,6 +31,8 @@ #include "domain.h" +#include "libgimp/stdplugins-intl.h" + /* defines */ @@ -129,6 +129,8 @@ run (const gchar *name, const gchar *default_env_domain_uri; gchar *default_domain_uri; + INIT_I18N (); + /* set default values */ default_env_domain_uri = g_getenv (GIMP_HELP_ENV_URI);