Re: Segmentation Fault Question
- From: Mel Harbour <mrh30 cam ac uk>
- To: gtk-app-devel-list gnome org
- Subject: Re: Segmentation Fault Question
- Date: Fri, 25 Jul 2003 15:30:31 +0100
martyn 2 russell bt com wrote:
Is it legal to pass gtk_init a pair of NULLs?
It should be. I usually pass (0, NULL) and if I remember correctly on Linux
NULL is just a (void*) cast of 0. On Windows it is JUST and integer of
value 0.
Certainly neither at compile or run-time does there appear to be a
problem with the line. If I leave it in and remove any other call to
GTK then the program runs fine.
Mel
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]