Re: Maybe a bug of gtk/gdk ?

2003-03-31 Thread Sven Neumann
Hi, James Su [EMAIL PROTECTED] 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

Re: Maybe a bug of gtk/gdk ?

2003-03-31 Thread James Su
Hi, Sorry, I'm using gtk+2.2.1. I'll check GTK+ HEAD later. But I wonder if this fix will be merged into 2.2 series? Regards James Su Sven Neumann wrote: Hi, James Su [EMAIL PROTECTED] writes: when I call gtk_init (argc, argv) with argc == 0, the program crashed at gdk_parse_args () in

Re: Maybe a bug of gtk/gdk ?

2003-03-31 Thread Sven Neumann
Hi, James Su [EMAIL PROTECTED] writes: Sorry, I'm using gtk+2.2.1. I'll check GTK+ HEAD later. But I wonder if this fix will be merged into 2.2 series? if the problem exists in 2.2.1, it probably has not been fixed. Bug fixes are currently always applied to the 2.2 branch as well. Salut,

Maybe a bug of gtk/gdk ?

2003-03-30 Thread James Su
Hi, 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