Re: Inconsistency in gtk_text_widget




  How is the "string" being allocated inside the function ? ( malloc , static
const, const ???)

   Harring
--- "Sreenidhi.B.G" <nidhi ncoretech com> wrote:
Hi All,
i'm facing an inconsistency in gtk_text_widget.
Here is the code.
gtk_text_widget( GTK_WIDGET(textWidget), textWidget->style->font, NULL,
NULL, ptr, -1 ) ;

ptr is a pointer to a string returned by a function.
This call is inconsistent and dumps core.

regards,
sreenidhi


_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com



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