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

« back to all changes in this revision

Viewing changes to libgimpbase/gimpunit.h

  • 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:
27
27
 
28
28
/* For information look into the C source or the html documentation */
29
29
 
 
30
/*
 
31
 * GIMP_TYPE_UNIT
 
32
 */
 
33
 
30
34
#define GIMP_TYPE_UNIT               (gimp_unit_get_type ())
31
35
#define GIMP_VALUE_HOLDS_UNIT(value) (G_TYPE_CHECK_VALUE_TYPE ((value), GIMP_TYPE_UNIT))
32
36
 
33
 
GType         gimp_unit_get_type                     (void) G_GNUC_CONST;
 
37
GType        gimp_unit_get_type      (void) G_GNUC_CONST;
 
38
 
 
39
 
 
40
/*
 
41
 * GIMP_TYPE_PARAM_UNIT
 
42
 */
 
43
 
 
44
#define GIMP_TYPE_PARAM_UNIT              (gimp_param_unit_get_type ())
 
45
#define GIMP_IS_PARAM_SPEC_UNIT(pspec)    (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), GIMP_TYPE_PARAM_UNIT))
 
46
 
 
47
GType        gimp_param_unit_get_type     (void) G_GNUC_CONST;
 
48
 
 
49
GParamSpec * gimp_param_spec_unit         (const gchar  *name,
 
50
                                           const gchar  *nick,
 
51
                                           const gchar  *blurb,
 
52
                                           gboolean      allow_pixels,
 
53
                                           gboolean      allow_percent,
 
54
                                           GimpUnit      default_value,
 
55
                                           GParamFlags   flags);
 
56
 
34
57
 
35
58
 
36
59
gint          gimp_unit_get_number_of_units          (void);