Re: Problem with gtk printing

2006-08-12 Thread Chris Vine
On Saturday 12 August 2006 16:45, Sebastian Filippini wrote: > Hi. > > My name is Sebastian, I'm new in gtk programming. I'm having a problem when > I try to use the new print support: > > When I invoke gtk_print_operation_run() print dialog is opened. Then, when > the CUPS printer is being loaded,

Problem with gtk printing

2006-08-12 Thread Sebastian Filippini
Hi. My name is Sebastian, I'm new in gtk programming. I'm having a problem when I try to use the new print support: When I invoke gtk_print_operation_run() print dialog is opened. Then, when the CUPS printer is being loaded, application ends with: symbol lookup error: /usr/lib/gtk-2.0/2.10.0/pri

Re: Exiting GTK main event loop from a plugin application

2006-08-12 Thread Edward Catmur
Before calling gtk_init(), save the X error handlers with XSetErrorHandler(NULL), XSetIOErrorHandler(NULL); after you're finished, restore them. Thus: void my_plugin() { int (*old_handler) (Display *, XErrorEvent *) = XSetErrorHandler (NULL); int (*old_io_handler) (Display *, XErro

Re: SPLint

2006-08-12 Thread Stefan Kost
I gave up on splint a while ago. I can't parse variadic macros too. So unless someone continues to work on the splint parser, I don't believe it will grok moder C. Stefan Will Frishe wrote: > A while back I used SPLint on my code. Having been a little while since > then, I decided to run through