Re: Inconsistency in gtk_text_widget
- From: Harring Figueiredo <harringf yahoo com>
- To: "Sreenidhi.B.G" <nidhi ncoretech com>, "gtk-app-devel-list gnome org" <gtk-app-devel-list gnome org>
- Subject: Re: Inconsistency in gtk_text_widget
- Date: Mon, 28 Jan 2002 06:45:13 -0800 (PST)
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]