Fix bugs in previous commit that caused FTBFS in synfig and ETL FTBFS with older...
[synfig.git] / synfig-studio / tags / stable / src / gtkmm / autorecover.h
index 425942d..9bdedac 100644 (file)
@@ -6,6 +6,7 @@
 **
 **     \legal
 **     Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
+**     Copyright (c) 2008 Chris Moore
 **
 **     This package is free software; you can redistribute it and/or
 **     modify it under the terms of the GNU General Public License as
@@ -42,7 +43,7 @@ namespace studio {
 class AutoRecover
 {
        int timeout;
-       SigC::Connection auto_backup_connect;
+       sigc::connection auto_backup_connect;
 public:
        AutoRecover();
        ~AutoRecover();
@@ -60,7 +61,7 @@ public:
        static synfig::String get_shadow_directory();
 
        bool recovery_needed()const;
-       bool recover();
+       bool recover(int& number_recovered);
 
        void normal_shutdown();