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

gEDA-user: possible gattrib fix (was Re: Testing gEDA 1.5.4 for Gentoo-Linux)



On Tue, Sep 29, 2009 at 10:00 PM, Stefan Salewski wrote:
> Currently we have --disable-gattrib (only for gtk+ 2.17.x ?) and

One of our developers,Mamoru Tasaka , pointed out to me that the
following might solve this gattrib issue.

The problem is that gattrib/src/gtkitementry_2_2.c uses members of
struct GtkEntry which is "declared" as "private" in gtk-2.0/gtk/gtkentry.h.
The following can be a workaround, however in the future
gattrib/src/gtkitementry_2_2.c should be fixed not to use "private" member
of GtkEntry.

----------------------------------------------------------
%if 0%{?fedora} >= 12
sed -i.gtkver -e 's|2.17.3|2.19.0|' configure
sed -i.gtkver \
 -e 's|entry->text_size|entry->x_text_size|g' \
 -e 's|entry->n_bytes|entry->x_n_bytes|g' \
 gattrib/src/gtkitementry_2_2.c
%endif
----------------------------------------------------------

c.f.
https://www.redhat.com/archives/fedora-extras-commits/2009-September/msg01015.html
This seems to be using the exactly same code.

I haven't got the time to test it. Can anyone try it out please ?

Chitlesh Goorah


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user