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