~ubuntu-branches/ubuntu/jaunty/gimp/jaunty-security

« back to all changes in this revision

Viewing changes to libgimp/gimphelp_pdb.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2007-05-02 16:33:03 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070502163303-bvzhjzbpw8qglc4y
Tags: 2.3.16-1ubuntu1
* Resynchronized with Debian, remaining Ubuntu changes:
  - debian/rules: i18n magic.
* debian/control.in:
  - Maintainer: Ubuntu Core Developers <ubuntu-devel@lists.ubuntu.com>
* debian/patches/02_help-message.patch,
  debian/patches/03_gimp.desktop.in.in.patch,
  debian/patches/10_dont_show_wizard.patch: updated.
* debian/patches/04_composite-signedness.patch,
  debian/patches/05_add-letter-spacing.patch: dropped, used upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 * Boston, MA 02111-1307, USA.
20
20
 */
21
21
 
22
 
/* NOTE: This file is autogenerated by pdbgen.pl */
 
22
/* NOTE: This file is auto-generated by pdbgen.pl */
23
23
 
24
24
#include "config.h"
25
25
 
35
35
 * This procedure loads the specified help page into the helpbrowser or
36
36
 * what ever is configured as help viewer. The help page is identified
37
37
 * by its domain and ID: if help_domain is NULL, we use the help_domain
38
 
 * which was registered using the gimp-plugin-help-register procedure.
39
 
 * If help_domain is NULL and no help domain was registered, the help
40
 
 * domain of the main GIMP installation is used.
 
38
 * which was registered using the gimp_plugin_help_register()
 
39
 * procedure. If help_domain is NULL and no help domain was registered,
 
40
 * the help domain of the main GIMP installation is used.
41
41
 *
42
42
 * Returns: TRUE on success.
43
43
 */
44
44
gboolean
45
45
gimp_help (const gchar *help_domain,
46
 
           const gchar *help_id)
 
46
           const gchar *help_id)
47
47
{
48
48
  GimpParam *return_vals;
49
49
  gint nreturn_vals;
50
50
  gboolean success = TRUE;
51
51
 
52
 
  return_vals = gimp_run_procedure ("gimp_help",
53
 
                                    &nreturn_vals,
54
 
                                    GIMP_PDB_STRING, help_domain,
55
 
                                    GIMP_PDB_STRING, help_id,
56
 
                                    GIMP_PDB_END);
 
52
  return_vals = gimp_run_procedure ("gimp-help",
 
53
                                    &nreturn_vals,
 
54
                                    GIMP_PDB_STRING, help_domain,
 
55
                                    GIMP_PDB_STRING, help_id,
 
56
                                    GIMP_PDB_END);
57
57
 
58
58
  success = return_vals[0].data.d_status == GIMP_PDB_SUCCESS;
59
59