Re: [gtk-list] Re: Closing connection to display




On Tue, 4 May 1999, James Bailie wrote:

Hello,

> #include <X11/Xlib.h>
> #include <gdk/gdkx.h>
> 
> ...
> close( ConnectionNumber( gdk_display ));

This dirty hack :-), even dirtyer as XCloseDisplay(gdk_display).
I was looking for clearer way, something like gt/dk_close_display(),
but if something similiar doesn't exist, so ... I have to use this
solution.

Thank for your help.

Bye,
Stevo.

---
Stefan Ondrejicka <ondrej@idata.sk>
Beethovenova 11, 917 08 Trnava, Slovakia
http://www.idata.sk/~ondrej/



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