From: Mark D. <the...@us...> - 2003-06-27 23:11:24
|
Update of /cvsroot/gaim/gaim/src/protocols/toc In directory sc8-pr-cvs1:/tmp/cvs-serv11716/src/protocols/toc Modified Files: toc.c Log Message: I renamed file_is_dir to gaim_gtk_check_if_dir and moved it to gtkutils.c/h Chipster (or whoever) - Lemme know if that's notsogood, remember: I pretend not to know anything about gtk. Index: toc.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/protocols/toc/toc.c,v retrieving revision 1.100 retrieving revision 1.101 diff -u -d -r1.100 -r1.101 --- toc.c 26 Jun 2003 02:01:56 -0000 1.100 +++ toc.c 27 Jun 2003 23:11:21 -0000 1.101 @@ -34,6 +34,7 @@ /* XXX */ #include "gaim.h" #include "ui.h" +#include "gtkutils.h" static GaimPlugin *my_protocol = NULL; @@ -1646,7 +1647,7 @@ GaimAccount *account; char buf[BUF_LEN * 2]; - if (file_is_dir(dirname, GTK_FILE_SELECTION(old_ft->window))) + if (gaim_gtk_check_if_dir(dirname, GTK_FILE_SELECTION(old_ft->window))) return; ft = g_new0(struct file_transfer, 1); if (old_ft->files == 1) @@ -1845,7 +1846,7 @@ GaimAccount *account; char *buf, buf2[BUF_LEN * 2]; - if (file_is_dir(dirname, GTK_FILE_SELECTION(old_ft->window))) + if (gaim_gtk_check_if_dir(dirname, GTK_FILE_SELECTION(old_ft->window))) return; ft = g_new0(struct file_transfer, 1); ft->filename = g_strdup(dirname); |