Re: GTK+ problems on Red Hat 8.0

Jeff Franks <jcf tpg com au> writes:

> Hi,
> I was wondering: Is GTK+-2.1 and/or the current CVS version binary
> incompatible with GTK+-2.0.6?
> I've had a few problems with GTK+ on Red Hat 8.0 and I'm not sure
> where the problem is. After installing Red Hat 8.0, I found the
> TextView widget example in the gtk-demo program no longer displayed
> the example of international and right to left text properly, just
> blocks of small binary images where the text should be. It worked fine
> with the same GTK+ version on Red Hat 7.3.

The difference is that you are now using Xft fonts and we don't
ship any postscript or truetype Arabic fonts with Red Hat.

If you do 'export GDK_USE_XFT=0' you'll get Arabic and ugly
fonts back :-)
> Thinking upgrading to the latest GLIB/GTK+ version would help, first
> 2.1, then the latest CVS version, I found that many programs now
> crashed with the following message from the g_type_create_instance()
> function in gtype.c :
> glib-object warning - "cannot create instance of abstract
> (non-instantiatable) type GtkWidget"
> Does any one know if this is problem with Red Hat 8.0, GTK+ or perhaps me.

You need to upgrade libgnomeui, it had a bug where it was
creating an object of type GtkWidget (not a type derived from

[ There is obviously some level of judgement here as to whether
  forbidding g_object_new (GTK_TYPE_WIDGET, NULL); is an incompatible
  change or just making explicit something that should have been
  common sense. We decided to consider it the latter. ]


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