pan-devel
[Top][All Lists]
Advanced

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

Re: [Pan-devel] GLib-GObject-WARNING **: invalid cast from `GMimeMultipa


From: Jeffrey Stedfast
Subject: Re: [Pan-devel] GLib-GObject-WARNING **: invalid cast from `GMimeMultipart' to `GMimePart'
Date: 20 May 2002 15:43:22 -0400

I think I fixed this in CVS last night. If not let me know.

Jeff

On Fri, 2002-05-17 at 14:41, Charles Kerr wrote:
> Looks like I spoke too soon; I'm seeing this warning every time I
> view a post with an attached image.
> 
> Here's the bt:
> 
> #2  0x00075320 in insert_part_partfunc (obj=0x368218, 
> ips_gpointer=0xffbee6d0) at text.c:480
> #3  0x000d1d44 in g_mime_multipart_foreach (multipart=0x368218, 
> callback=0x752fc <insert_part_partfunc>, user_data=0xffbee6d0) at 
> gmime-multipart.c:739
> #4  0x00075934 in set_text_from_article_nolock (article=0x310940) at 
> text.c:581
> #5  0x00075b9c in set_current_article_impl (a=0x310940, 
>     text=0x36b428 "Path: 
> atlpnn01.usenetserver.com!newsfeeds-atl2!news-out.visi.com!hermes.visi.com!feed2.news.rcn.net!rcn!netnews.com!xfer02.netnews.com!newsfeed1.cidera.com!Cidera!cyclone1.gnilink.net!spamfinder.gnili"...)
>  at text.c:656
> #6  0x00075ce4 in set_current_article_mainthread (data=0x310940) at text.c:684
> #7  0x0004225c in gui_queue_timer_cb (user_data=0x0) at gui.c:1800
> #8  0x0007826c in pan_timeout_wrapper (data=0x24cc90) at util.c:145
> 
> 
> text.c:
>     477 static void
>     478 insert_part_partfunc (GMimeObject * obj, gpointer ips_gpointer)
>     479 {
>     480         GMimePart * part = GMIME_PART (obj);
>     481         InsertPartStruct * ips = (InsertPartStruct*) ips_gpointer;
>     482         const GMimeContentType * type = 
> g_mime_object_get_content_type (GMIME_OBJECT (part));
>     483         YencInfo * yenc;
> 
> ...
> 
>     574         /* add body */
>     575         if (current_mm)
>     576         {
>     577                 InsertPartStruct ips;
>     578                 ips.article = article;
>     579                 ips.buffer = _text_buffer;
>     580                 if (GMIME_IS_MULTIPART (current_mm->mime_part))
>     581                         g_mime_multipart_foreach (GMIME_MULTIPART 
> (current_mm->mime_part), insert_part_partfunc, &ips);
>     582                 else
>     583                         insert_part_partfunc (current_mm->mime_part, 
> &ips);
>     584         }
> 
> 
> _______________________________________________
> Pan-devel mailing list
> address@hidden
http://mail.freesoftware.fsf.org/mailman/listinfo/pan-devel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]