Re: [gtk-list] Re: gdk_io_* clarification



> OK, I'm completely confused.
> 
> You surely aren't arguing that:
> 
>  gdk_input_remove(tag);
>  gdk_input_remove(tag);
> 
> isn't a bug in your code - it's no different from 
> 
>  free(block);
>  free(block);
> 

	The code is

tag = gdk_input_add_full()  (original one in main())

then

gdk_input_remove(tag)
tag = gdk_input_add_full()
gdk_input_remove(tag)
tag = gdk_input_add_full()

	There are not two calls to gdk_input_remove() in sucession, just
an add followed immediately by a remove and an add again.  I know this seems
a little silly, but from a modularity pont-of-view it'd be nice to have
in my program.


--
James Macnicol
j-macnicol@adfa.edu.au



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