[Glade-users] Glade / Gtk+ version mismatch and fatal errors
Daniel Kasak
d.j.kasak.dk at gmail.com
Fri Oct 2 05:11:08 UTC 2015
Hi Tristan. Thanks for the reply.
I'm deploying stuff on Windows ( and I'm struggling to build Gtk+ on
Windows - I managed it at one point, but I had to pull in patches from all
over the place, and they no longer apply cleanly ). After more testing, I'm
seeing this kind of issue all over the place now :( I guess the only
solution is to roll back to an earlier version of Glade that matches the
target Gtk+ version I'm deploying to.
Dan
On Fri, Oct 2, 2015 at 1:57 PM, Tristan Van Berkom <
tristan.van.berkom at gmail.com> wrote:
> Hi Daniel,
>
> Glade 3.18 has been a bit stale for quite some time, I recommend that,
> if it's possible for you, to build a Glade 3.19 dev snapshot for work
> purposes, it has a lot more integration of newer widgets.
>
> Regarding your deployment issue, when in doubt, refer to the GTK+
> documentation[0], note that the wide-handle property was introduced in
> GTK+ 3.16.
>
> Unfortunately what's happened here is that Glade has introspected the
> wide-handle property at runtime, but since Glade's catalog has not
> seen any update for a while in Glade 3.18... it does not know what
> version wide-handle was introduced in... we admittedly need better
> integration with system GIR files (which I think by now should be
> providing the 'Since' information) for this to be better automated.
>
> Best,
> -Tristan
>
> [0]:
> https://developer.gnome.org/gtk3/stable/GtkPaned.html#GtkPaned--wide-handle
>
>
> On Fri, Oct 2, 2015 at 8:20 AM, Daniel Kasak <d.j.kasak.dk at gmail.com>
> wrote:
> > Hi all.
> >
> > I just created a builder file with Glade-3.18.3. I left the target
> version
> > as the default ( 3.18 ) and deployed to a system with gtk-3.14.3. I got
> an
> > error ( which prevented the window from opening at all ):
> >
> > *** unhandled exception in callback:
> > *** Invalid property: GtkPaned.wide_handle on line 24 at
> > c:/strawberry/perl/site/lib/Gtk3.pm line 544.
> > *** ignoring at c:/starberry/perl/site/lib/Gtk3.pm line 318.
> >
> > So I went back into glade, loaded this builder file, went to File ==>
> > Properties and looked at the 'Toolkit version required' area.
> >
> > The *latest* was 3.12 - which is *earlier* than my gtk version on the
> system
> > I'm deploying to. Anyway I set it back to 3.8, clicked the 'verify'
> button (
> > there were no version mismatches ), saved, deployed, and tried again.
> > Unfortunately, I get the same error.
> >
> > I worked around the issue by unsetting the 'wide handle' toggle on the
> paned
> > widget.
> >
> > It might be better for whatever's throwing this error to make it
> > *non*-fatal.
> >
> > Dan
> >
> > _______________________________________________
> > Glade-users maillist - Glade-users at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/glade-users
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/glade-users/attachments/20151002/bd39a089/attachment.html>
More information about the Glade-users
mailing list