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

« back to all changes in this revision

Viewing changes to libgimp/gimpfonts_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
 
42
42
  gint nreturn_vals;
43
43
  gboolean success = TRUE;
44
44
 
45
 
  return_vals = gimp_run_procedure ("gimp_fonts_refresh",
46
 
                                    &nreturn_vals,
47
 
                                    GIMP_PDB_END);
 
45
  return_vals = gimp_run_procedure ("gimp-fonts-refresh",
 
46
                                    &nreturn_vals,
 
47
                                    GIMP_PDB_END);
48
48
 
49
49
  success = return_vals[0].data.d_status == GIMP_PDB_SUCCESS;
50
50
 
67
67
 */
68
68
gchar **
69
69
gimp_fonts_get_list (const gchar *filter,
70
 
                     gint        *num_fonts)
 
70
                     gint        *num_fonts)
71
71
{
72
72
  GimpParam *return_vals;
73
73
  gint nreturn_vals;
74
74
  gchar **font_list = NULL;
75
75
  gint i;
76
76
 
77
 
  return_vals = gimp_run_procedure ("gimp_fonts_get_list",
78
 
                                    &nreturn_vals,
79
 
                                    GIMP_PDB_STRING, filter,
80
 
                                    GIMP_PDB_END);
 
77
  return_vals = gimp_run_procedure ("gimp-fonts-get-list",
 
78
                                    &nreturn_vals,
 
79
                                    GIMP_PDB_STRING, filter,
 
80
                                    GIMP_PDB_END);
81
81
 
82
82
  *num_fonts = 0;
83
83
 
86
86
      *num_fonts = return_vals[1].data.d_int32;
87
87
      font_list = g_new (gchar *, *num_fonts);
88
88
      for (i = 0; i < *num_fonts; i++)
89
 
        font_list[i] = g_strdup (return_vals[2].data.d_stringarray[i]);
 
89
        font_list[i] = g_strdup (return_vals[2].data.d_stringarray[i]);
90
90
    }
91
91
 
92
92
  gimp_destroy_params (return_vals, nreturn_vals);