pidgin/gtkutils.c

changeset 28474
e4b871b3655c
parent 28470
37b23d2e9484
child 28673
f6f0113c1a6c
child 29514
7b39d4c94f2e
equal deleted inserted replaced
28473:aede2f49264b 28474:e4b871b3655c
1535 { 1535 {
1536 GdkPixbuf *pb; 1536 GdkPixbuf *pb;
1537 GList *files = purple_uri_list_extract_filenames((const gchar *)sd->data); 1537 GList *files = purple_uri_list_extract_filenames((const gchar *)sd->data);
1538 PurpleConnection *gc = purple_account_get_connection(account); 1538 PurpleConnection *gc = purple_account_get_connection(account);
1539 PurplePluginProtocolInfo *prpl_info = NULL; 1539 PurplePluginProtocolInfo *prpl_info = NULL;
1540 gboolean file_send_ok = FALSE;
1541 #ifndef _WIN32 1540 #ifndef _WIN32
1542 PurpleDesktopItem *item; 1541 PurpleDesktopItem *item;
1543 #endif 1542 #endif
1544 gchar *filename = NULL; 1543 gchar *filename = NULL;
1545 gchar *basename = NULL; 1544 gchar *basename = NULL;
1551 g_free(filename); 1550 g_free(filename);
1552 g_free(basename); 1551 g_free(basename);
1553 1552
1554 filename = files->data; 1553 filename = files->data;
1555 basename = g_path_get_basename(filename); 1554 basename = g_path_get_basename(filename);
1556
1557 /* Set the default action: don't send anything */
1558 file_send_ok = FALSE;
1559 1555
1560 /* XXX - Make ft API support creating a transfer with more than one file */ 1556 /* XXX - Make ft API support creating a transfer with more than one file */
1561 if (!g_file_test(filename, G_FILE_TEST_EXISTS)) { 1557 if (!g_file_test(filename, G_FILE_TEST_EXISTS)) {
1562 continue; 1558 continue;
1563 } 1559 }

mercurial