From: Thomas Hubbell <thubbell@co...> - 2001-03-21 15:19:57
To anyone who hacks on GPr:
I rearranged quite a few things the past two nights and committed the
changes to bens_dev_branch.
Here's what I did:
1) I moved every callback (save one) in interface.c to callbacks.c.
THere were a few minor changes required to the header files to get
everything to compile, but this was mostly a cut-and-paste operation.
2) I altered all callbacks to accept generic gpointer arguments rather
than ppd_struct or whatever specific pointers they were called with.
This really wasn't necessary, but I believe it will make the callbacks a
little more flexible for the future, in the event that we clean up
ppd_struct a bit as I plan to do.
3) I changed the label on "Advanced Options" to "Printer Options"
I didn't change any function internals really, so there is nothing
different about the program logic. If, however, you are looking to
modify a function in interface.c and you can't find it, take a look in
callbacks.c. Chances are you will find it there!
Also, everything compiled and appeared to run correctly on my system
last night, but if anyone has problems with these recent changes let me
Well, I hope you guys in CA haven't been hit too hard with the
blackouts. Reading email by candlelight can be tricky, at best;)
CompuMetric Labs, Inc.
Get latest updates about Open Source Projects, Conferences and News.