Add v0.0.6 of Hermes from source tarball
[hermes] / package / src / contactview.py
index 6488cc5..e6db658 100644 (file)
@@ -1,6 +1,7 @@
 import gtk
 import hildon
 from ctypes import *
+from pygobject import *
 
 class ContactView(hildon.PannableArea):
   """Widget which shows a list of contacts in a pannable area.
@@ -50,18 +51,3 @@ class ContactView(hildon.PannableArea):
     self.add(self.treeview)
     self.set_size_request(600, 380)
 
-
-class EContactPhoto_inlined(Structure):
-  _fields_ = [('mime_type', c_char_p),
-              ('length', c_uint),
-              ('data', c_void_p)]
-
-class EContactPhoto_data(Union):
-  _fields_ = [('inlined', EContactPhoto_inlined),
-              ('uri', c_char_p)]
-
-class EContactPhoto(Structure):
-  _fields_ = [('type', c_int),
-              ('data', EContactPhoto_data)]
-
-