Missing GObject.connect function in typelib, but present in gir

Marko Tasic <[email protected]> Thu, 24 Mar 2011 22:31:00 +0100
Newsgroups gmane.comp.gnome.language-bindings
Message-ID <[email protected]>
--===============0000525002==
Content-Type: multipart/alternative; boundary=0016364ed9d4c1b937049f413268

--0016364ed9d4c1b937049f413268
Content-Type: text/plain; charset=UTF-8

Hi,

I've started new project called pygir-ctypes. It's pure python binding
of girepository. Initial results are promising. pygir-ctypes parses all
GI*Info structs, and dynamically produces python classes, methods,
functions, etc. Have in mind that pygir-ctypes isn't trying to be compatible
with pygtk nor pyobject.

But, when I try to look for function "connect" in "GObject" typelib,
it's missing. However there are: 'signal_connect_closure',
'signal_connect_closure_by_id', 'signal_handler_disconnect',
'signal_handler_is_connected', 'signal_handlers_disconnect_matched'.

When I look in "/usr/share/gir-1.0/GObject-2.0.gir"
I can see function called "connect", but when I try to find it in
"/usr/lib/girepository-1.0/GObject-2.0.typelib", it is missing.

I tried to recompile GObject-2.0.gir to GObject-2.0.typelib, but
again I cannot find "connect" function. Why is "connect" function
missing from compiled typelib?

I'm using: pypy 1.4.1, cpython 2.7, glib2 2.26.1-1,
gobject-introspection 0.9.12-1, gtk2 2.22.1-1...

Regards,
Marko Tasic

--0016364ed9d4c1b937049f413268
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div>Hi,</div><div><br></div><div>I&#39;ve started new project called pygir=
-ctypes. It&#39;s pure python binding</div><div>of=C2=A0girepository. Initi=
al results are=C2=A0promising. pygir-ctypes parses all</div><div>GI*Info st=
ructs, and=C2=A0dynamically=C2=A0produces python classes, methods,</div>


<div>functions, etc. Have in mind that pygir-ctypes isn&#39;t trying to be =
compatible</div><div>with=C2=A0pygtk nor pyobject.</div><div><br></div><div=
>But, when I try to look for function &quot;connect&quot; in &quot;GObject&=
quot; typelib,</div>


<div>it&#39;s=C2=A0missing. However there are:=C2=A0&#39;signal_connect_clo=
sure&#39;,</div><div>&#39;signal_connect_closure_by_id&#39;,=C2=A0&#39;sign=
al_handler_disconnect&#39;,</div><div>&#39;signal_handler_is_connected&#39;=
,=C2=A0&#39;signal_handlers_disconnect_matched&#39;.</div>


<div><br></div><div>When I look in &quot;/usr/share/gir-1.0/GObject-2.0.gir=
&quot;</div><div>I can see=C2=A0function=C2=A0called &quot;connect&quot;, b=
ut when I try to find it in</div><div>&quot;/usr/lib/girepository-1.0/GObje=
ct-2.0.typelib&quot;, it is missing.</div>

<div><br></div><div>I tried to recompile=C2=A0<meta http-equiv=3D"content-t=
ype" content=3D"text/html; charset=3Dutf-8">GObject-2.0.gir=C2=A0to=C2=A0GO=
bject-2.0.typelib, but</div><div>again I cannot find &quot;connect&quot; fu=
nction. Why is &quot;connect&quot; function</div>

<div>missing from compiled typelib?</div><meta http-equiv=3D"content-type" =
content=3D"text/html; charset=3Dutf-8"><div><br></div><div>I&#39;m using:=
=C2=A0pypy 1.4.1,=C2=A0cpython 2.7, glib2 2.26.1-1,</div><div>gobject-intro=
spection 0.9.12-1,=C2=A0gtk2 2.22.1-1...</div>


<div><br></div><div>Regards,</div>Marko Tasic<br>

--0016364ed9d4c1b937049f413268--

--===============0000525002==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
language-bindings mailing list  [email protected]
http://mail.gnome.org/mailman/listinfo/language-bindings

--===============0000525002==--