Re: GtkItemFactory/Builder bug?



On Sat, 2009-11-28 at 20:53 -0500, Jeffrey Ray wrote:
Torsten Schoenfeld wrote:
On 11/28/2009 09:42 PM, Jeffrey Ray wrote:
GLib-GObject-WARNING **: invalid cast from `GtkIconFactory' to
`GtkBuildable' at
bug.pl line 12. Gtk-CRITICAL **: gtk_buildable_custom_tag_start:
assertion `GTK_IS_BUILDABLE (bu
ildable)' failed at bug.pl line 12. Unhandled tag: 'sources' at bug.pl
line 12.

Seems to work OK* here.  You'll need a gtk+ >= 2.13.1 in order to have 
GtkIconFactory support GtkBuildable.

* Program runs fine, but the button doesn't show the image.

That would be it - working with 2.0.0.

how are you even managing to get a Buildable with gtk+ 2.0.0? the
GtkBuildable interface, like GtkBuilder, was added with gtk+ 2.12.

ciao,
 Emmanuele.




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