[solang] Carried out some housekeeping



commit 244a88b5e0c07bc539374661bd91f9028207a94e
Author: Debarshi Ray <rishi gnu org>
Date:   Wed Dec 9 04:41:38 2009 +0200

    Carried out some housekeeping
    
    + Fixed copyright and license notices.
    + Removed trailing whitespaces
    + Used HAVE_CONFIG_H around #include "config.h".

 src/common/progress-dialog.h      |    4 ++--
 src/database/database.cpp         |    4 ++--
 src/database/photo-tags-table.cpp |   11 +++++++----
 src/database/photos-table.cpp     |    9 +++++----
 4 files changed, 16 insertions(+), 12 deletions(-)
---
diff --git a/src/common/progress-dialog.h b/src/common/progress-dialog.h
index 05d986b..51ecf44 100644
--- a/src/common/progress-dialog.h
+++ b/src/common/progress-dialog.h
@@ -42,10 +42,10 @@ class ProgressDialog :
         void
         set_pulse_step(double fraction) throw();
 
-        void 
+        void
         set_progress_title();
 
-        void 
+        void
         reset() throw();
 
     protected:
diff --git a/src/database/database.cpp b/src/database/database.cpp
index 967d40b..dcc263e 100644
--- a/src/database/database.cpp
+++ b/src/database/database.cpp
@@ -3,12 +3,12 @@
  * Copyright (C) 2009 Debarshi Ray <rishi gnu org>
  * Copyright (C) 2009 Santanu Sinha <santanu sinha gmail com>
  *
- * database.cpp is free software: you can redistribute it and/or modify it
+ * Solang is free software: you can redistribute it and/or modify it
  * under the terms of the GNU General Public License as published by the
  * Free Software Foundation, either version 3 of the License, or
  * (at your option) any later version.
  *
- * database.cpp is distributed in the hope that it will be useful, but
+ * Solang is distributed in the hope that it will be useful, but
  * WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  * See the GNU General Public License for more details.
diff --git a/src/database/photo-tags-table.cpp b/src/database/photo-tags-table.cpp
index bd67eb6..69c6533 100644
--- a/src/database/photo-tags-table.cpp
+++ b/src/database/photo-tags-table.cpp
@@ -1,14 +1,13 @@
 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
 /*
- * photo-tags-table.cpp
- * Copyright (C) Santanu Sinha 2009 <santanu sinha gmail com>
+ * Copyright (C) 2009 Santanu Sinha <santanu sinha gmail com>
  * 
- * photo-tags-table.cpp is free software: you can redistribute it and/or modify it
+ * Solang is free software: you can redistribute it and/or modify it
  * under the terms of the GNU General Public License as published by the
  * Free Software Foundation, either version 3 of the License, or
  * (at your option) any later version.
  * 
- * photo-tags-table.cpp is distributed in the hope that it will be useful, but
+ * Solang is distributed in the hope that it will be useful, but
  * WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  * See the GNU General Public License for more details.
@@ -17,6 +16,10 @@
  * with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif // HAVE_CONFIG_H
+
 #include "db-table-visitor.h"
 #include "photo-tags-table.h"
 #include "progress-observer.h"
diff --git a/src/database/photos-table.cpp b/src/database/photos-table.cpp
index 4a2ae3e..c7ef5b1 100644
--- a/src/database/photos-table.cpp
+++ b/src/database/photos-table.cpp
@@ -1,14 +1,13 @@
 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
 /*
- * photos-table.cpp
- * Copyright (C) Santanu Sinha 2009 <santanu sinha gmail com>
+ * Copyright (C) 2009 Santanu Sinha <santanu sinha gmail com>
  * 
- * photos-table.cpp is free software: you can redistribute it and/or modify it
+ * Solang is free software: you can redistribute it and/or modify it
  * under the terms of the GNU General Public License as published by the
  * Free Software Foundation, either version 3 of the License, or
  * (at your option) any later version.
  * 
- * photos-table.cpp is distributed in the hope that it will be useful, but
+ * Solang is distributed in the hope that it will be useful, but
  * WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  * See the GNU General Public License for more details.
@@ -17,7 +16,9 @@
  * with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#ifdef HAVE_CONFIG_H
 #include "config.h"
+#endif // HAVE_CONFIG_H
 
 #include "db-table-visitor.h"
 #include "photo.h"



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