1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
/* giza - a scientific plotting library built on cairo
*
* Copyright (c) 2010 James Wetter and Daniel Price
* Copyright (c) 2010-2012 Daniel Price
*
* This library is free software; and you are welcome to redistribute
* it under the terms of the GNU General Public License
* (GPL, see LICENSE file for details) and the provision that
* this notice remains intact. If you modify this file, please
* note section 5a) of the GPLv3 states that:
*
* a) The work must carry prominent notices stating that you modified
* it, and giving a relevant date.
*
* This software is distributed "AS IS", with ABSOLUTELY NO WARRANTY.
* See the GPL for specific language governing rights and limitations.
*
* The Original code is the giza plotting library.
*
* Contributor(s):
* James Wetter <wetter.j@gmail.com>
* Daniel Price <daniel.price@monash.edu> (main contact)
*/
#include <X11/Xlib.h>
int main ()
{
Display *display;
display = XOpenDisplay(NULL);
XCloseDisplay(display);
return 0;
}
|