On a more technical note, what type of barcode are we talking about here?
My feeling is that this would work quite well as a plugin to mBarcode, but if you really want a standalone app then fair enough. Which is again why I thought writing a plugin for mbarcode might make your life easier. There's worse ahead than working out what glib is don't worry