GNOME Bugzilla – Bug 328314
Examples should use GOption instead of argcontext.c
Last modified: 2006-01-30 23:17:38 UTC
Examples should use GOption for parsing cmd-line parameters instead of homegrown argcontext.[ch].
Created attachment 58429 [details] [review] Patch generated to CVS HEAD of pango/examples with cvs diff -up Hello, This patch is to use GOption instead of argcontext.c. The changes are only in renderdemo.c. The files argcontext.c and argcontext.h are not useful anymore but the patch doesn't delete them. I am not quite sur about the changes made in Makefile.am. Hope this can help. PS: By the way, In can't compile cairosimple.c. I have got the error "cairosimple.c:81: attention : implicit declaration of function ‘cairo_surface_write_to_png’"
Thanks. Committed after some cleanup. As for the cairosimple error, you need to recompile your cairo with PNG support enabled. 2006-01-30 Behdad Esfahbod <behdad@gnome.org> Bug 328314 – Examples should use GOption instead of argcontext.c Patch from Antoine Dopffer. * examples/renderdemo.c: Use GOption for parsing cmd-line options. * examples/renderdemo.c, examples/renderdemo.h: Removed.