Re: Pixbuf for gtk-demo



On Sun, Oct 01, 2006 at 03:30:09PM +0900, Kim Jongha wrote:
I'm programming with pixbuf, so I want to get good examples.
Finally I found gtk-demo. It's wonderful for newbie.

But in the page of Pixbuf, paste all source code to some file,
removing #include "demo-common.h"(Because I don't know where
demo-common.h is)

demo-common.h is in the very same directory as pixbufs.c.

compile it ,but failed.

Because there are not main() function there, so How can I execute that
example!?

gtk-demo is one program, so it has one main(), particularly
in main.c.  You have to write your own main().  Well, you
would if a standalone pibxuf demo was not one directory up:
pixbuf-demo.c.

Yeti


--
Whatever.



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