From: Daniel Caujolle-B. <f1...@us...> - 2005-01-02 22:19:56
|
Update of /cvsroot/xine/xine-ui/src/xitk/xine-toolkit In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15500 Modified Files: test.c Log Message: more debugging stuff Index: test.c =================================================================== RCS file: /cvsroot/xine/xine-ui/src/xitk/xine-toolkit/test.c,v retrieving revision 1.58 retrieving revision 1.59 diff -u -r1.58 -r1.59 --- test.c 31 Dec 2004 00:52:15 -0000 1.58 +++ test.c 2 Jan 2005 22:19:46 -0000 1.59 @@ -979,6 +979,22 @@ XLockDisplay (test->display); +#undef DUMP_ATOMS +#ifdef DUMP_ATOMS + { + int i = 1; + char *atom_name; + + for(;;i++) { + if((atom_name = XGetAtomName(test->display, (Atom)i))) + printf("Atom %d: '%s'\n", i, atom_name); + else + break; + } + } +#endif + + gc = XCreateGC(test->display, (xitk_window_get_window(test->xwin)), None, None); |