Added PurpleNotifyUiOps callbacks.
[python-purple] / buddy.pyx
index 33d36b7..d12fd58 100644 (file)
--- a/buddy.pyx
+++ b/buddy.pyx
 #  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 
-cimport blist
+cimport purple
 
 cdef class Buddy:
     """ Buddy class """
     cdef blist.PurpleBuddy *__buddy
 
-    def __cinit__(self):
+    def __init__(self):
         self.__buddy = NULL
 
     def new_buddy(self, acc, char *scr, char *alias):