minor problem with I18N labels patch

leon breedt bitserf at gmail.com
Tue Jan 11 16:26:55 PST 2005


On Tue, 11 Jan 2005 00:46:36 +0100, Kay Sievers <kay.sievers at vrfy.org> wrote:
> Your impression was right, you should not use glib here. :)
Woops, sorry :)

> This library and it is also used in other projects without glib. We
> carry our own conversion function for that reason. We may split that out
> and you can use it or you just use set_label_unicode16() with the SVD
> value and overwrite it later if the primary is the same string but
> longer.
I've attached a patch that does functionally the same thing as foser's
patch, but using your suggested approach. It also removes the
potential of reading a buffer twice from disc.

Tested here against 0.4.4.

Leon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-0.4.4-iso-label-selection.patch
Type: text/x-patch
Size: 1541 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20050112/c4374457/hal-0.4.4-iso-label-selection.bin
-------------- next part --------------
_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal


More information about the Hal mailing list