Re: Python, GObject-Introspection, and WebKit.WebSettings
- From: John Palmieri <johnp redhat com>
- To: Smartboy <smartboyathome gmail com>
- Cc: Python Hackers <python-hackers-list gnome org>
- Subject: Re: Python, GObject-Introspection, and WebKit.WebSettings
- Date: Wed, 16 Mar 2011 16:15:07 -0400 (EDT)
----- Original Message -----
> On 03/16/2011 10:19 AM, Tomeu Vizoso wrote:
> > On Wed, Mar 16, 2011 at 16:54, Smartboy<smartboyathome gmail com>
> > wrote:
> >> But now, under introspection, I cannot use WebSettings, because on
> >> the third
> >> line, there is no way to modify the properties
> > Can you paste here the part of WebKit-3.0.gir that describes the API
> > of WebSettings? There may be some problem introspecting that.
> >
> > Regards,
> >
> > Tomeu
> Here's that part of the file:
> <record name="WebSettings" c:type="WebKitWebSettings">
Something is wrong here. This is telling me that the WebSettings is a struct not an object but it clearly is defined as a GObject in the source:
G_DEFINE_TYPE(WebKitWebSettings, webkit_web_settings, G_TYPE_OBJECT)
After talking to colin on irc he is a bit stumped. Best thing to do is file a bug on WebKit and note that WebSettings is being picked up as struct instead of a GObject by GI. They can work it out with the GI developers.
--
John (J5) Palmieri
Software Engineer
Red Hat, Inc.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]