2091{
2092 const gchar *p, *q;
2093
2094 if (selection_data->data == NULL)
2095 {
2096 pgui_logf(
_(
"Unable to process drag data."));
2097 return;
2098 }
2099
2100 p = (char*)selection_data->data;
2101 while (p)
2102 {
2103
2104 if (*p != '#')
2105 {
2106
2107 while (g_ascii_isspace(*p))
2108 p++;
2109 q = p;
2110
2111 while (*q && (*q != '\n') && (*q != '\r'))
2112 q++;
2113 if (q > p)
2114 {
2115
2116 q--;
2117
2118 while (q > p && g_ascii_isspace(*q))
2119 q--;
2120 if (q > p)
2121 {
2123 }
2124 }
2125 }
2126
2127 p = strchr(p, '\n');
2128 if (p)
2129 p++;
2130 }
2131}
static void static void static void pgui_logf(const char *fmt,...) __attribute__((format(printf
static void process_single_uri(char *uri)