Re: Maybe a bug of gtk/gdk ?



Hi,

James Su <suzhe gnuchina org> writes:

> when I call gtk_init (argc, argv) with argc == 0, the program crashed at
> gdk_parse_args () in gdk.c. I digged into the source code and found that
> there are possiblly some bugs in gdk_arg_context_parse, which does not
> check if argc <= 0.
> I don't know should we treat it as a bug, or just restrict argc > 0 in
> the documentation and force application send a valid data to gtk_init?

IIRC, this has been fixed quite some time ago. Did you check GTK+ HEAD
and look into Bugzilla?


Salut, Sven



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