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

« back to all changes in this revision

Viewing changes to app/widgets/gimpunitcombobox.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:
1
 
/* The GIMP -- an image manipulation program
 
1
/* GIMP - The GNU Image Manipulation Program
2
2
 * Copyright (C) 1995 Spencer Kimball and Peter Mattis
3
3
 *
4
4
 * gimpunitcombobox.c
29
29
#include "gimpunitstore.h"
30
30
 
31
31
 
32
 
static void  gimp_unit_combo_box_init (GimpUnitComboBox *combo);
33
 
 
34
 
 
35
 
GType
36
 
gimp_unit_combo_box_get_type (void)
 
32
G_DEFINE_TYPE (GimpUnitComboBox, gimp_unit_combo_box, GTK_TYPE_COMBO_BOX)
 
33
 
 
34
#define parent_class gimp_unit_combo_box_parent_class
 
35
 
 
36
 
 
37
static void
 
38
gimp_unit_combo_box_class_init (GimpUnitComboBoxClass *klass)
37
39
{
38
 
  static GType combo_box_type = 0;
39
 
 
40
 
  if (!combo_box_type)
41
 
    {
42
 
      static const GTypeInfo combo_box_info =
43
 
      {
44
 
        sizeof (GimpUnitComboBoxClass),
45
 
        NULL,           /* base_init      */
46
 
        NULL,           /* base_finalize  */
47
 
        NULL,           /* class_init     */
48
 
        NULL,           /* class_finalize */
49
 
        NULL,           /* class_data     */
50
 
        sizeof (GimpUnitComboBox),
51
 
        0,              /* n_preallocs    */
52
 
        (GInstanceInitFunc) gimp_unit_combo_box_init
53
 
      };
54
 
 
55
 
      combo_box_type = g_type_register_static (GTK_TYPE_COMBO_BOX,
56
 
                                               "GimpUnitComboBox",
57
 
                                               &combo_box_info, 0);
58
 
    }
59
 
 
60
 
  return combo_box_type;
61
40
}
62
41
 
63
42
static void