On 07/19/2009 05:48 PM, Allin Cottrell wrote:
GtkTargetEntry rtf_targets[] = {
{ "application/rtf", 0, TARGET_RTF },
{ "application/x-rtf", 0, TARGET_RTF },
{ "text/rtf", 0, TARGET_RTF },
{ "text/richtext", 0, TARGET_RTF },
{ "STRING", 0, TARGET_STRING },
{ "TEXT", 0, TARGET_TEXT }
};
Is it possible that the Mac clipboard system uses UTIs[1] instead of mime types to identify content? Perhaps try "public.rtf" as the target string and see if that works?
-brian [1] http://en.wikipedia.org/wiki/Uniform_Type_Identifier