~ubuntu-branches/ubuntu/trusty/pango1.0/trusty-proposed

« back to all changes in this revision

Viewing changes to pango/pango-color.c

  • Committer: Package Import Robot
  • Author(s): Michael Biebl
  • Date: 2012-03-09 10:39:11 UTC
  • mfrom: (1.6.4) (63.3.30 sid)
  • Revision ID: package-import@ubuntu.com-20120309103911-0jpxqwnix351v3se
Tags: 1.29.5-1
* New upstream release.
  - Fix GI annotation syntax. Closes: #640855
* debian/control.in: Bump Build-Depends on libglib2.0-dev to (>= 2.31.0).
* debian/patches/00git_transfer_annotations.patch: Removed, merged upstream.
* Set pkg-gnome-maintainers@lists.alioth.debian.org as Maintainer.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
#include "pango-attributes.h"
28
28
#include "pango-impl-utils.h"
29
29
 
30
 
GType
31
 
pango_color_get_type (void)
32
 
{
33
 
  static GType our_type = 0;
34
 
 
35
 
  if (G_UNLIKELY (our_type == 0))
36
 
    our_type = g_boxed_type_register_static (I_("PangoColor"),
37
 
                                             (GBoxedCopyFunc) pango_color_copy,
38
 
                                             (GBoxedFreeFunc) pango_color_free);
39
 
 
40
 
  return our_type;
41
 
}
 
30
G_DEFINE_BOXED_TYPE (PangoColor, pango_color,
 
31
                     pango_color_copy,
 
32
                     pango_color_free);
42
33
 
43
34
/**
44
35
 * pango_color_copy: