On Thu, 6 Apr 2000, [EMAIL PROTECTED] wrote:
...
> Now when I start dia it doesn't display the same text as compiling it
> without it, but again, I experience a direct crash. A backtrace in gdb
> shows me:
>
> (gdb) bt
> #0 gdk_rgb_choose_visual () at gdkrgb.c:492
> #1 0x282466f4 in gdk_rgb_init () at gdkrgb.c:595
> #2 0x805a4a3 in app_init (argc=1, argv=0xbfbfd740) at app_procs.c:193
> #3 0x807e98e in main (argc=1, argv=0xbfbfd740) at main.c:33
> #4 0x80576ad in _start (arguments=0xbfbfd814 "dia")
> at /usr/src/lib/csu/i386-elf/crt1.c:95
>
> The exact same thing as compiling it without gdk-pixbuf.
I'm not surprised. I added gdk-pixbuf support after you reported the bug.
> I will start cleaning up the source now and see if I happen to stumble
> upon what changed.
>
> I am also doing a diff -ruN between dia-0.84 and dia-cvs in order to
> spot the changes.
Say... what happens if you start dia with an argument? I notice a change
in app_init is that under GNOME, gnome_init_with_popt_table() is only
called if there is an arg. I could see how calling gnome_init_* would be a
good thing to do before gdk_rgb_init().
-Lars
--
Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause) | H�rdgrim of Numenor
"I do not agree with a word that you say, but I | Retainer of Sir Kegg
will defend to the death your right to say it." | of Westfield
--Evelyn Beatrice Hall paraphrasing Voltaire | Chaos Berserker of Khorne