Use g_dir_open() and friends instead of opendir() and friends.
[claws.git] / src / exportldif.c
index bd2cf0aa27c176ec18b938575c246a156622d659..c864975887ce2d714dc9b0064ef8be436aa8fa6f 100644 (file)
@@ -576,23 +576,6 @@ void exportldif_parse_filespec( ExportLdifCtl *ctl, gchar *fileSpec ) {
        ctl->path = mgu_replace_string( ctl->path, fileSpec );
 }
 
-/**
- * Test whether output directory exists.
- * \param  ctl Export control data.
- * \return TRUE if exists.
- */
-gboolean exportldif_test_dir( ExportLdifCtl *ctl ) {
-       gboolean retVal;
-       DIR *dp;
-
-       retVal = FALSE;
-       if((dp = opendir( ctl->dirOutput )) != NULL) {
-               retVal = TRUE;
-               closedir( dp );
-       }
-       return retVal;
-}
-
 /**
  * Create output directory.
  * \param  ctl Export control data.