paperbox r163 - in trunk: . src



Author: markoa
Date: Sun Jun  8 11:26:34 2008
New Revision: 163
URL: http://svn.gnome.org/viewvc/paperbox?rev=163&view=rev

Log:
Forgotten ifndef, obsolete consts

Modified:
   trunk/ChangeLog
   trunk/src/config.hh
   trunk/src/main-window.hh

Modified: trunk/src/config.hh
==============================================================================
--- trunk/src/config.hh	(original)
+++ trunk/src/config.hh	Sun Jun  8 11:26:34 2008
@@ -20,6 +20,9 @@
  *  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
+#ifndef __PAPER_BOX_CONFIG__
+#define __PAPER_BOX_CONFIG__
+
 #include <boost/shared_ptr.hpp>
 #include <glibmm/miscutils.h>
 #include <glibmm/keyfile.h>
@@ -80,3 +83,5 @@
         Glib::KeyFile keyfile_;
     };
 }
+
+#endif // __PAPER_BOX_CONFIG__

Modified: trunk/src/main-window.hh
==============================================================================
--- trunk/src/main-window.hh	(original)
+++ trunk/src/main-window.hh	Sun Jun  8 11:26:34 2008
@@ -45,8 +45,6 @@
     class Document;
 
     // These consts are used by configuration code.
-    const int DEFAULT_X = 50;
-    const int DEFAULT_Y = 50;
     const int DEFAULT_WIDTH = 800;
     const int DEFAULT_HEIGHT = 690;
     const int DEFAULT_CATEGORY_PANED_POS = 280;



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