On Saturday 10 June 2006 22:12, Murray Cumming wrote: > Is there any particular reason why GtkClipboardRichTextReceivedFunc > provides the text as const guint8*: > http://developer.gnome.org/doc/API/2.0/gtk/gtk-Clipboards.html#GtkClipboard >RichTextReceivedFunc > > instead of the const gchar* that GtkClipboardTextReceivedFunc provides: > http://developer.gnome.org/doc/API/2.0/gtk/gtk-Clipboards.html#GtkClipboard >TextReceivedFunc ? Probably the use of guint8 has something to do with the rich text specification, although if so it would appear to be no more than a statement of intention as I did not think that glib supports anything but systems with 8-bit char types. At any rate there could only be a difference if the gchar (or guchar) type is formed other than by an octet. It seems inconceivable that modern systems would have char types smaller than an octet, but conceivable that they could be larger (sizeof(char), sizeof(wchar_t) and sizeof(long) can all be the same, for example). Chris _______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list