Strange behavior of my program

2013-12-01 Thread Alberto Zichittella
This message dialog causes a strange behavior on my program. It seems that the call to gtk_message_dialog_new() change the value of the const gchar* pointer, last parameter. Furthermore, the value of the const gchar* variable "message" change from "Il risultato e' -number-" to "Il risult(", I don'

Re: Strange behavior of my program

2013-12-01 Thread Chris Vine
On Sun, 1 Dec 2013 21:01:48 +0100 Alberto Zichittella wrote: > This message dialog causes a strange behavior on my program. It seems > that the call to gtk_message_dialog_new() change the value of the > const gchar* pointer, last parameter. > > Furthermore, the value of the const gchar* variable