Re: GtkBuilder bug?



No, application crashes on gtk_builder_add_from_file().

Mike Massonnet wrote:
On Wed, Feb 27, 2008 at 12:04:10PM +0300, Pavel Syomin wrote:
Hi, all!

I had been experimenting with GtkBuilder using Gtk+ 2.12.5 from Fedora 8. I have found, that if there is reference to unknown type in UI-file, then application crashes. Is it a GtkBuilder bug?

Test program:
#include <gtk/gtk.h>

gint main(gint argc, gchar **argv)
{
        GtkBuilder *builder;

        gtk_init(&argc, &argv);

        builder = gtk_builder_new();
        gtk_builder_add_from_file(builder, "window.ui", NULL);


gtk_main ();

        return 0;
}


Does this help?

mike


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