~ubuntu-branches/ubuntu/natty/pygoocanvas/natty

« back to all changes in this revision

Viewing changes to goocanvasmodule.c

  • Committer: Bazaar Package Importer
  • Author(s): Andrea Gasparini
  • Date: 2008-05-27 12:33:11 UTC
  • mfrom: (1.1.5 upstream) (3.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080527123311-eqm2rj4gf17fjljc
Tags: 0.10.0-1ubuntu1
* Merge from Debian unstable. (LP: #235247) Remaining Ubuntu changes:
   - Included demo files in binary package.
   - debian/control:
      + added build-dependencies from python-gobject-doc
      + changed maintainer to Ubuntu MOTU

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
#endif
4
4
 
5
5
#include <pygobject.h>
 
6
#define NO_IMPORT_PYGTK
6
7
#include <pygtk/pygtk.h>
7
8
#include <goocanvas.h>
8
9
 
73
74
    pyg_register_gtype_custom(GOO_TYPE_CAIRO_MATRIX,
74
75
                              _cairo_matrix_from_gvalue,
75
76
                              _cairo_matrix_to_gvalue);
 
77
    PyModule_AddObject(m, "TYPE_CAIRO_PATTERN", pyg_type_wrapper_new(GOO_TYPE_CAIRO_PATTERN));
76
78
    pyg_register_gtype_custom(GOO_TYPE_CAIRO_PATTERN,
77
79
                              _cairo_pattern_from_gvalue,
78
80
                              _cairo_pattern_to_gvalue);