Re: Adjustment problem



Amadeus,

I forgot to mention that there's some pretty good information on using
jhbuild on these two pages:

http://www.gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/apg.html
http://www.gnome.org/~jamesh/jhbuild.html

Paul

On 10/31/06, Paul Davis <pjdavis engineering uiowa edu> wrote:
Here is a working patch.  Although, really its more of a work around.
Someone should ask on the gtk list whats going on with this class.
Its kind of schizophrenic.  The GtkAdjustment structure contains six
member variables that are also listed as properties. Murray might know
better, but I've been under the impression that properties are stored
and retrieved using functions that operate on the gobject.

Ie, the value, lower, upper, et al values are stored as *both*
properties and structure member variables.

What appears to be happening, is that when gtkmm instantiates an
Adjustment, the property values are set correctly, but not the
structure member variables, but when other gtkmm objects access the
adjustment properties, they're accessing the structure values..... (I
think)

Anyway, this patch seems to fix things.

Amadeus, I don't think jhbuild does rpms. I'm not sure how that
process works.  Although, I imagine that it wouldn't be too hard to
apply these changes to an existing source tree and repackage because
no files are created or destroyed.

And it should be abi compatible too. I think...

Paul

PS, Murray, do you some nifty program to do your change log editing?

On 10/31/06, Amadeus W.M. <amadeus84 verizon net> wrote:
> On Tue, 31 Oct 2006 13:52:09 -0600, Paul Davis wrote:
>
> > I think I've got a patch thats compiling right now, but I'll have to
> > wait and see.
>
> Excellent!
>
> >
> > I recommend building using jhbuild, it makes everything pretty simple,
> > the first build takes awhile cause it builds all the dependancies it
> > needs, but its fairly automatic.
> >
>
> Can I make rpms after it compiles with jhbuild? I've never used it.
> I'll probably try to get a .spec file from existing src.rpms and see if I
> can do it that way.
>
>
> > I'll let you know when this is done if it worked
> >
> > Paul
> >
> > PS I wasn't paying to much attention to gmail's outgoing message format, my bad.
> >
>
> No problem.
>
>
>
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
>






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]