[glibmm/glibmm-2-18] Revert "Added the missing defenitions for Gio::File::make_directory_with_parents()"



commit 93f6a4a128c4147cf24679eeaa4635ad85335f54
Author: Siavash Safi <siavash siavashs org>
Date:   Mon Apr 27 13:38:34 2009 +0430

    Revert "Added the missing defenitions for Gio::File::make_directory_with_parents()"
    
    This reverts commit 715991e5a1f8f6e4d091144b3f21c4ad836156c0.
---
 gio/src/file.ccg |   19 -------------------
 1 files changed, 0 insertions(+), 19 deletions(-)

diff --git a/gio/src/file.ccg b/gio/src/file.ccg
index 344c749..c1b0835 100644
--- a/gio/src/file.ccg
+++ b/gio/src/file.ccg
@@ -1901,25 +1901,6 @@ bool File::make_directory(std::auto_ptr<Glib::Error>& error)
 }
 
 #ifdef GLIBMM_EXCEPTIONS_ENABLED
-bool File::make_directory_with_parents()
-#else
-bool File::make_directory_with_parents(std::auto_ptr<Glib::Error>& error)
-#endif //GLIBMM_EXCEPTIONS_ENABLED
-{
-  GError* gerror = 0;
-  const bool retvalue = g_file_make_directory_with_parents(gobj(), NULL, &(gerror));
-#ifdef GLIBMM_EXCEPTIONS_ENABLED
-  if(gerror)
-    ::Glib::Error::throw_exception(gerror);
-#else
-  if(gerror)
-    error = ::Glib::Error::throw_exception(gerror);
-#endif //GLIBMM_EXCEPTIONS_ENABLED
-
-  return retvalue;
-}
-
-#ifdef GLIBMM_EXCEPTIONS_ENABLED
 bool File::make_symbolic_link(const std::string& symlink_value)
 #else
 bool File::make_symbolic_link(const std::string& symlink_value, std::auto_ptr<Glib::Error>& error)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]