er, uh... GtkDialog is what contains the vbox. you have to cast, the
mbox itself doesn't contain the vbox.

and the vbox is created, it has to be... the gtk dialog code creates it

Jeff

On Wed, 2004-01-14 at 15:11 -0500, Bryan W. Clark wrote:
> Hey ~
> 
> It appears that there's a crasher in the Expunge dialog from
> mail/em-utils.c line 96.  The vbox widget is never created.
> 
> (gdb) print mbox->vbox
> There is no member named vbox.
> 
> I've got a relevant piece of a backtrace:
> 
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 16384 (LWP 8688)]
> em_utils_prompt_user (parent=0x8360e28, def=137760296,
>     promptkey=0x418052a0 "/apps/evolution/mail/prompts/expunge",
>     fmt=0x8360e28 " \n6\b\001") at em-utils.c:96
> 96                      gtk_box_pack_start ((GtkBox *)((GtkDialog *)
> mbox)->vbox, check, TRUE, TRUE, 10);
> 
> I could send a patch if you wanted, but it's probably easier for you guys
> to add the gtk_vbox_new yourself.
> 
> Thanks,
> ~ Bryan
> 
> _______________________________________________
> evolution-hackers maillist  -  [EMAIL PROTECTED]
> http://lists.ximian.com/mailman/listinfo/evolution-hackers
-- 
Jeffrey Stedfast
Evolution Hacker - Ximian, Inc.
[EMAIL PROTECTED]  - www.ximian.com

_______________________________________________
evolution-hackers maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution-hackers

Reply via email to