diff finch/libgnt/pygnt/gntmodule.c @ 18713:8000beb73585

propagate from branch 'im.pidgin.pidgin' (head c2cc31f23a71f23062555721f8101fc9c997bae2) to branch 'libgnt.pygnt' (head e69d5919b7bf3b9ace0cb482c147654e60e135a8)
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sun, 29 Jul 2007 07:59:10 +0000
parents 254823d66aa5
children dc129248eb7c
line wrap: on
line diff
--- a/finch/libgnt/pygnt/gntmodule.c	Sun Jul 29 07:01:13 2007 +0000
+++ b/finch/libgnt/pygnt/gntmodule.c	Sun Jul 29 07:59:10 2007 +0000
@@ -9,11 +9,12 @@
     PyObject *m, *d;
  
     init_pygobject ();
- 
+
     m = Py_InitModule ("gnt", gnt_functions);
     d = PyModule_GetDict (m);
  
     gnt_register_classes (d);
+    gnt_add_constants(m, "GNT_");
  
     if (PyErr_Occurred ()) {
         Py_FatalError ("can't initialise module sad");