~ubuntu-branches/ubuntu/natty/pygtk/natty-proposed

« back to all changes in this revision

Viewing changes to gtk/gtkmodule.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2009-06-22 16:49:42 UTC
  • mfrom: (1.2.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20090622164942-19zeltp4z0u5iw72
Tags: 2.15.2-0ubuntu1
* New upstream version:
  - Rename gtk.Statusbar.remove() to gtk.Statusbar.remove_message
  - Allow pango.Context creation 
  - Make gtk.gdk.Pixbuf.add_alpha accept integers, retaining backward
    compatibility accepting also chars 
  - Protect window obj from GC in gtk.window_get_toplevels 
  - Plug huge number of memory leaks in Pango wrappers 
  - Add gtk.gdk.WINDOWING constant 
  - Wrap gdk_pixbuf_apply_embedded_orientation 
  - Modernize constructors of seven more types 
  - Don't free a string we don't own 
  - Some docs tweaking 
* debian/control.in:
  - set vcs location
* debian/patches/02_fix_get_application_info_crash.patch:
  - the change is in the new version

Show diffs side-by-side

added added

removed removed

Lines of Context:
246
246
    pygdk_register_classes(d);
247
247
    pygdk_add_constants(m, "GDK_");
248
248
    pygdk_add_extra_constants(m);
 
249
 
 
250
#if defined(GDK_WINDOWING_X11)
 
251
    PyModule_AddStringConstant(m, "WINDOWING", "x11");
 
252
#elif defined(GDK_WINDOWING_WIN32)
 
253
    PyModule_AddStringConstant(m, "WINDOWING", "win32");
 
254
#elif defined(GDK_WINDOWING_QUARTZ)
 
255
    PyModule_AddStringConstant(m, "WINDOWING", "quartz");
 
256
#elif defined(GDK_WINDOWING_DIRECTFB)
 
257
    PyModule_AddStringConstant(m, "WINDOWING", "directfb");
 
258
#else
 
259
    PyModule_AddStringConstant(m, "WINDOWING", "?");
 
260
#endif
249
261
}