2064{
2065 const gchar *p, *q;
2066
2067 if (selection_data->data == NULL)
2068 {
2069 pgui_logf(
_(
"Unable to process drag data."));
2070 return;
2071 }
2072
2073 p = (char*)selection_data->data;
2074 while (p)
2075 {
2076
2077 if (*p != '#')
2078 {
2079
2080 while (g_ascii_isspace(*p))
2081 p++;
2082 q = p;
2083
2084 while (*q && (*q != '\n') && (*q != '\r'))
2085 q++;
2086 if (q > p)
2087 {
2088
2089 q--;
2090
2091 while (q > p && g_ascii_isspace(*q))
2092 q--;
2093 if (q > p)
2094 {
2096 }
2097 }
2098 }
2099
2100 p = strchr(p, '\n');
2101 if (p)
2102 p++;
2103 }
2104}
static void process_single_uri(char *uri)
static void pgui_logf(const char *fmt,...)