
Goozer
New User
Nov 30, 2008, 9:27 AM
Post #1 of 3
(622 views)
|
|
[solved] glade + perl w/good ol' code
|
Can't Post
|
|
hi all. here is my problem: i want to write a program in gtk+ using glade and perl. i made the glade file using glade-gnome-3, and i wrote this code in perl:
#!/usr/bin/perl use Gtk2 -init; use Gtk2::GladeXML; my $gladexml = Gtk2::GladeXML->new('gui.glade'); $gladexml->signal_autoconnect_from_package('main'); Gtk2->main; this code worked fine under ubuntu 7.10 and 8.04 but it crashes with this error under ubuntu 8.10 and perl v5.10.0:
goozer@home:~/Documents$ perl gui.pl GLib-CRITICAL **: g_markup_escape_text: assertion `text != NULL' failed at gui.pl line 6. ^C goozer@home:~/Documents$ any ideas? ty and sorry for my bad, chat-like english. ------------------------------------------------- Life is like a box of chocolates. You never know what you're gonna get.
(This post was edited by Goozer on Dec 3, 2008, 1:40 PM)
|