Re: Problems on Gtk2->init
- From: "muppet" <scott asofyet org>
- To: gtk-perl-list gnome org
- Cc: "Leonardo Trentini Lang" <tlang inf ufsc br>
- Subject: Re: Problems on Gtk2->init
- Date: Mon, 18 Aug 2003 09:43:28 -0400 (EDT)
Ross McFarland said:
Leonardo Trentini Lang said:
Then i downloaded older releases, and had success using gtk2-perl-0.26. All
works well. Gtk2-0.90 didn't worked either.
...
its odd that 0.26 would work, but 0.9x didn't. there's been very little
(if any) change to the code involved with init.
indeed, the code for gtk_init>k_init_check in the bindings hasn't changed
since goran imported the last snapshot to sourceforge four months ago!
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/gtk2-perl/gtk2-perl-xs/Gtk2/xs/Gtk2.xs?annotate=1.9
let's do a sanity check:
- do you have only one version of gtk+-2.x installed on your system, and if
not, are you certain that the correct one is being used for build and link?
- are you certain that the correct versions of libgtk/libgdk/libglib/etc are
being found at runtime?
- did 'make test' pass?
- did you do the tests with the two versions in the same environment? i.e.,
are you sure you had a connection to the X server in all testing environments?
- are you using Gtk2->init_add or quit_add? if so, does the problem go away
when you take it out?
- are you passing any commandline arguments? i.e. does @ARGV have anything in
it?
- does it still fail when you hack up the bindings for Gtk2->init and pass a
dummy argc&argv, like this:
{
int argc = 1;
char * argv[] = { 'foo', NULL };
gtk_init (&argc, &argv);
}
failing all of those, would you please send a copy of your script to me or
ross offlist?
--
muppet <scott at asofyet dot org>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]