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

« back to all changes in this revision

Viewing changes to libgimp/gimpfontselect.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:
60
60
                      GimpRunFontCallback  callback,
61
61
                      gpointer             data)
62
62
{
63
 
  static GimpParamDef args[] =
 
63
  static const GimpParamDef args[] =
64
64
  {
65
 
    { GIMP_PDB_STRING, "str",           "String" },
 
65
    { GIMP_PDB_STRING, "str",           "String"                     },
66
66
    { GIMP_PDB_INT32,  "dialog status", "If the dialog was closing "
67
 
                                        "[0 = No, 1 = Yes]" },
 
67
                                        "[0 = No, 1 = Yes]"          }
68
68
  };
69
69
 
70
70
  gchar *font_callback = gimp_procedural_db_temp_name ();
71
71
 
72
72
  gimp_install_temp_proc (font_callback,
73
 
                          "Temporary font popup callback procedure",
74
 
                          "",
75
 
                          "Andy Thomas",
76
 
                          "Andy Thomas",
77
 
                          "1997",
78
 
                          NULL,
79
 
                          "RGB*, GRAY*",
80
 
                          GIMP_TEMPORARY,
81
 
                          G_N_ELEMENTS (args), 0,
82
 
                          args, NULL,
83
 
                          gimp_temp_font_run);
 
73
                          "Temporary font popup callback procedure",
 
74
                          "",
 
75
                          "",
 
76
                          "",
 
77
                          "",
 
78
                          NULL,
 
79
                          "",
 
80
                          GIMP_TEMPORARY,
 
81
                          G_N_ELEMENTS (args), 0,
 
82
                          args, NULL,
 
83
                          gimp_temp_font_run);
84
84
 
85
85
  if (gimp_fonts_popup (font_callback, title, font_name))
86
86
    {