Use g_dir_open() and friends instead of opendir() and friends.
[claws.git] / src / exporthtml.c
index 5533ba8e33b1bd5e4c00ac8452af8bb79327862d..675576f42ec8a132631c6ced437073962928b130 100644 (file)
@@ -1035,25 +1035,6 @@ void exporthtml_parse_filespec( ExportHtmlCtl *ctl, gchar *fileSpec ) {
        ctl->path = mgu_replace_string( ctl->path, fileSpec );
 }
 
-/*
- * ============================================================================
- * Test whether directory exists.
- * Enter:  ctl  Export control data.
- * Return: TRUE if exists.
- * ============================================================================
- */
-gboolean exporthtml_test_dir( ExportHtmlCtl *ctl ) {
-       gboolean retVal;
-       DIR *dp;
-
-       retVal = FALSE;
-       if((dp = opendir( ctl->dirOutput )) != NULL) {
-               retVal = TRUE;
-               closedir( dp );
-       }
-       return retVal;
-}
-
 /*
  * ============================================================================
  * Create output directory.