[glom] Remove unnecessary includes.



commit c0328976100c9f2793f4c5e5054ef95036a038be
Author: Murray Cumming <murrayc murrayc com>
Date:   Sat Mar 19 20:06:05 2016 +0100

    Remove unnecessary includes.
    
    Found by Jetbrains CLion inspections.

 glom/bakery/appwindow_withdoc.cc                   |    2 --
 glom/libglom/appstate.cc                           |    1 -
 glom/libglom/connectionpool.cc                     |    4 ----
 glom/libglom/connectionpool_backends/mysql.cc      |    1 -
 .../connectionpool_backends/mysql_central.cc       |    2 --
 glom/libglom/connectionpool_backends/mysql_self.cc |    1 -
 .../connectionpool_backends/postgres_central.cc    |    2 --
 .../connectionpool_backends/postgres_self.cc       |    3 ---
 glom/libglom/connectionpool_backends/sqlite.cc     |    1 -
 glom/libglom/data_structure/glomconversions.cc     |    1 -
 glom/libglom/db_utils_export.cc                    |    2 --
 glom/libglom/document/document.cc                  |    3 ---
 glom/libglom/init.cc                               |    1 -
 glom/libglom/python_embed/py_glom_record.cc        |    2 --
 glom/libglom/python_embed/py_glom_related.cc       |    4 ----
 glom/libglom/python_embed/py_glom_relatedrecord.cc |    1 -
 .../libglom/python_embed/pygdavalue_conversions.cc |    1 -
 glom/libglom/spawn_with_feedback.cc                |    3 ---
 glom/libglom/string_utils.cc                       |    1 -
 glom/libglom/utils.cc                              |   11 -----------
 glom/libglom/xsl_utils.cc                          |    9 ---------
 glom/mode_data/box_data.cc                         |    1 -
 glom/mode_data/box_data_calendar_related.cc        |    1 -
 glom/mode_data/box_data_details.cc                 |    1 -
 glom/mode_data/box_data_list.cc                    |    3 ---
 glom/mode_data/buttonglom.cc                       |    2 --
 glom/mode_data/datawidget/cellcreation.cc          |    5 -----
 glom/mode_data/datawidget/checkbutton.cc           |    3 ---
 glom/mode_data/datawidget/combo.cc                 |    8 --------
 .../mode_data/datawidget/combo_as_radio_buttons.cc |    4 ----
 glom/mode_data/datawidget/combochoices.cc          |    6 ------
 glom/mode_data/datawidget/dialog_new_record.cc     |    2 --
 glom/mode_data/datawidget/entry.cc                 |    6 ------
 glom/mode_data/datawidget/label.cc                 |    2 --
 glom/mode_data/datawidget/textview.cc              |    6 ------
 glom/mode_data/datawidget/treemodel_db.cc          |    1 -
 .../datawidget/treemodel_db_withextratext.cc       |    6 ------
 .../mode_design/fields/dialog_defaultformatting.cc |    5 -----
 38 files changed, 0 insertions(+), 118 deletions(-)
---
diff --git a/glom/bakery/appwindow_withdoc.cc b/glom/bakery/appwindow_withdoc.cc
index d5c7246..d42ab66 100644
--- a/glom/bakery/appwindow_withdoc.cc
+++ b/glom/bakery/appwindow_withdoc.cc
@@ -21,9 +21,7 @@
 #include <glom/bakery/dialog_offersave.h>
 #include <libglom/algorithms_utils.h>
 #include <libglom/utils.h>
-#include <libglom/algorithms_utils.h>
 #include <giomm/file.h>
-#include <algorithm>
 #include <glibmm/i18n-lib.h>
 
 namespace GlomBakery
diff --git a/glom/libglom/appstate.cc b/glom/libglom/appstate.cc
index 3c352ec..2dbd693 100644
--- a/glom/libglom/appstate.cc
+++ b/glom/libglom/appstate.cc
@@ -18,7 +18,6 @@
  * Boston, MA 02110-1301 USA.
  */
 
-#include <libglom/libglom_config.h>
 #include <libglom/appstate.h>
 
 
diff --git a/glom/libglom/connectionpool.cc b/glom/libglom/connectionpool.cc
index 5ccc37e..e5e0efa 100644
--- a/glom/libglom/connectionpool.cc
+++ b/glom/libglom/connectionpool.cc
@@ -18,14 +18,10 @@
  * Boston, MA 02110-1301 USA.
  */
 
-#include <libglom/libglom_config.h>
-
 #include <libglom/connectionpool.h>
 #include <libglom/document/document.h>
 #include <libglom/utils.h>
 #include <libglom/db_utils.h>
-//#include <libgdamm/connectionevent.h>
-
 #include <libglom/connectionpool_backends/postgres_central.h>
 #include <libglom/connectionpool_backends/postgres_self.h>
 #include <libglom/connectionpool_backends/sqlite.h>
diff --git a/glom/libglom/connectionpool_backends/mysql.cc b/glom/libglom/connectionpool_backends/mysql.cc
index 999d1fd..33d4389 100644
--- a/glom/libglom/connectionpool_backends/mysql.cc
+++ b/glom/libglom/connectionpool_backends/mysql.cc
@@ -30,7 +30,6 @@
 #include <glibmm/fileutils.h> //For Glib::file_test().
 #include <glibmm/miscutils.h>
 #include <glibmm/shell.h>
-#include <glib/gstdio.h> /* For g_rename(). TODO: Wrap this in glibmm? */
 
 #include <iostream>
 
diff --git a/glom/libglom/connectionpool_backends/mysql_central.cc 
b/glom/libglom/connectionpool_backends/mysql_central.cc
index 2535a29..18497f6 100644
--- a/glom/libglom/connectionpool_backends/mysql_central.cc
+++ b/glom/libglom/connectionpool_backends/mysql_central.cc
@@ -18,8 +18,6 @@
  * Boston, MA 02110-1301 USA.
  */
 
-#include <libglom/libglom_config.h>
-
 #include <libglom/connectionpool_backends/mysql_central.h>
 
 // Uncomment to see debug messages
diff --git a/glom/libglom/connectionpool_backends/mysql_self.cc 
b/glom/libglom/connectionpool_backends/mysql_self.cc
index f3ddcb3..becd783 100644
--- a/glom/libglom/connectionpool_backends/mysql_self.cc
+++ b/glom/libglom/connectionpool_backends/mysql_self.cc
@@ -22,7 +22,6 @@
 #include <libglom/utils.h>
 #include <libglom/spawn_with_feedback.h>
 #include <giomm/file.h>
-#include <glib/gstdio.h> // For g_remove
 
 #include <glibmm/convert.h>
 #include <glibmm/fileutils.h>
diff --git a/glom/libglom/connectionpool_backends/postgres_central.cc 
b/glom/libglom/connectionpool_backends/postgres_central.cc
index aff2671..ec6f4cd 100644
--- a/glom/libglom/connectionpool_backends/postgres_central.cc
+++ b/glom/libglom/connectionpool_backends/postgres_central.cc
@@ -18,8 +18,6 @@
  * Boston, MA 02110-1301 USA.
  */
 
-#include <libglom/libglom_config.h>
-
 #include <libglom/connectionpool_backends/postgres_central.h>
 
 // Uncomment to see debug messages
diff --git a/glom/libglom/connectionpool_backends/postgres_self.cc 
b/glom/libglom/connectionpool_backends/postgres_self.cc
index 934ea64..c9f8026 100644
--- a/glom/libglom/connectionpool_backends/postgres_self.cc
+++ b/glom/libglom/connectionpool_backends/postgres_self.cc
@@ -31,9 +31,6 @@
 #include <glibmm/stringutils.h>
 #include <glibmm/main.h>
 #include <glibmm/shell.h>
-#include <glibmm/i18n.h>
-
-#include <sstream> //For stringstream
 #include <iostream>
 #include <regex>
 
diff --git a/glom/libglom/connectionpool_backends/sqlite.cc b/glom/libglom/connectionpool_backends/sqlite.cc
index e712980..e4e1846 100644
--- a/glom/libglom/connectionpool_backends/sqlite.cc
+++ b/glom/libglom/connectionpool_backends/sqlite.cc
@@ -19,7 +19,6 @@
  */
 
 #include <libglom/algorithms_utils.h>
-#include <libglom/libglom_config.h>
 #include <libglom/connectionpool_backends/sqlite.h>
 #include <libglom/utils.h>
 #include <libglom/file_utils.h>
diff --git a/glom/libglom/data_structure/glomconversions.cc b/glom/libglom/data_structure/glomconversions.cc
index 977085e..d5d7784 100644
--- a/glom/libglom/data_structure/glomconversions.cc
+++ b/glom/libglom/data_structure/glomconversions.cc
@@ -22,7 +22,6 @@
 #include <libglom/libglom_config.h> // For HAVE_STRPTIME
 
 #include <libglom/data_structure/glomconversions.h>
-#include <libglom/connectionpool.h>
 #include <libglom/utils.h>
 #include <libglom/string_utils.h>
 
diff --git a/glom/libglom/db_utils_export.cc b/glom/libglom/db_utils_export.cc
index ce51da1..53998d4 100644
--- a/glom/libglom/db_utils_export.cc
+++ b/glom/libglom/db_utils_export.cc
@@ -24,8 +24,6 @@
 #include <libglom/layout_utils.h>
 #include <libglom/utils.h>
 #include <libglom/sql_utils.h>
-#include <libglom/algorithms_utils.h>
-#include <libgdamm/metastore.h>
 #include <iostream>
 
 namespace Glom
diff --git a/glom/libglom/document/document.cc b/glom/libglom/document/document.cc
index 9779798..9590304 100644
--- a/glom/libglom/document/document.cc
+++ b/glom/libglom/document/document.cc
@@ -18,7 +18,6 @@
  * Boston, MA 02110-1301 USA.
  */
 
-#include <libglom/libglom_config.h>
 #include <libglom/document/document.h>
 #include <libglom/xml_utils.h>
 #include <libglom/algorithms_utils.h>
@@ -50,8 +49,6 @@
 #include <archive_entry.h>
 
 #include <glibmm/i18n.h>
-#include <algorithm> //For std::find_if().
-#include <sstream> //For stringstream
 #include <iostream>
 
 namespace Glom
diff --git a/glom/libglom/init.cc b/glom/libglom/init.cc
index 67c3832..1fc7047 100644
--- a/glom/libglom/init.cc
+++ b/glom/libglom/init.cc
@@ -25,7 +25,6 @@
 
 #include <glom/libglom/connectionpool.h>
 #include <giomm/init.h>
-#include <libgdamm/connection.h>
 #include <libgdamm/init.h>
 #include <iostream>
 
diff --git a/glom/libglom/python_embed/py_glom_record.cc b/glom/libglom/python_embed/py_glom_record.cc
index 4fcabaa..6fdf206 100644
--- a/glom/libglom/python_embed/py_glom_record.cc
+++ b/glom/libglom/python_embed/py_glom_record.cc
@@ -28,9 +28,7 @@
 #include <libglom/python_embed/py_glom_related.h>
 #include <libglom/python_embed/pygdavalue_conversions.h> //For pygda_value_as_pyobject().
 #include <libglom/data_structure/glomconversions.h>
-
 #include <libglom/data_structure/field.h>
-#include <glibmm/ustring.h>
 
 #include <iostream>
 
diff --git a/glom/libglom/python_embed/py_glom_related.cc b/glom/libglom/python_embed/py_glom_related.cc
index 830bb88..98ebed5 100644
--- a/glom/libglom/python_embed/py_glom_related.cc
+++ b/glom/libglom/python_embed/py_glom_related.cc
@@ -22,10 +22,6 @@
 //#include <libglom/python_embed/py_glom_record.h>
 #include <libglom/python_embed/py_glom_relatedrecord.h>
 
-#include <libglom/data_structure/field.h>
-#include <libglom/data_structure/glomconversions.h>
-
-
 namespace Glom
 {
 
diff --git a/glom/libglom/python_embed/py_glom_relatedrecord.cc 
b/glom/libglom/python_embed/py_glom_relatedrecord.cc
index 7538261..ceb7080 100644
--- a/glom/libglom/python_embed/py_glom_relatedrecord.cc
+++ b/glom/libglom/python_embed/py_glom_relatedrecord.cc
@@ -25,7 +25,6 @@
 #include <libglom/python_embed/pygdavalue_conversions.h> //For pygda_value_as_pyobject().
 #include <libglom/connectionpool.h>
 #include <libglom/data_structure/glomconversions.h>
-#include <libglom/data_structure/field.h>
 
 namespace Glom
 {
diff --git a/glom/libglom/python_embed/pygdavalue_conversions.cc 
b/glom/libglom/python_embed/pygdavalue_conversions.cc
index 58ada62..1fe297b 100644
--- a/glom/libglom/python_embed/pygdavalue_conversions.cc
+++ b/glom/libglom/python_embed/pygdavalue_conversions.cc
@@ -6,7 +6,6 @@
 
 #include <boost/python.hpp>
 
-#include "pygdavalue_conversions.h"
 #include <libgdamm/numeric.h>
 #include <libgda/gda-blob-op.h>
 #include <iostream>
diff --git a/glom/libglom/spawn_with_feedback.cc b/glom/libglom/spawn_with_feedback.cc
index 839570c..3f75064 100644
--- a/glom/libglom/spawn_with_feedback.cc
+++ b/glom/libglom/spawn_with_feedback.cc
@@ -22,12 +22,9 @@
 #include <libglom/spawn_with_feedback.h>
 #include <glibmm/main.h>
 #include <glibmm/spawn.h>
-#include <glibmm/iochannel.h>
 #include <glibmm/shell.h>
 #include <glibmm/fileutils.h>
 #include <glibmm/miscutils.h>
-#include <glibmm/i18n.h>
-#include <memory> //For shared_ptr.
 #include <stdexcept>
 #include <iostream>
 
diff --git a/glom/libglom/string_utils.cc b/glom/libglom/string_utils.cc
index c9dab18..493ffae 100644
--- a/glom/libglom/string_utils.cc
+++ b/glom/libglom/string_utils.cc
@@ -22,7 +22,6 @@
 #include <libglom/data_structure/field.h>
 #include <libglom/document/document.h>
 #include <giomm/file.h>
-#include <libglom/utils.h>
 #include <giomm/resource.h>
 #include <glibmm/convert.h>
 #include <glibmm/fileutils.h>
diff --git a/glom/libglom/utils.cc b/glom/libglom/utils.cc
index 367ba0e..2a8097d 100644
--- a/glom/libglom/utils.cc
+++ b/glom/libglom/utils.cc
@@ -18,15 +18,7 @@
  * Boston, MA 02110-1301 USA.
  */
 
-#include <libglom/libglom_config.h>
-
 #include <libglom/utils.h>
-#include <libglom/privs.h>
-#include <libglom/connectionpool.h>
-#include <libglom/data_structure/glomconversions.h>
-#include <libglom/string_utils.h>
-
-#include <giomm/file.h>
 #include <giomm/resource.h>
 #include <glibmm/convert.h>
 #include <glibmm/fileutils.h>
@@ -34,9 +26,6 @@
 
 #include <iostream>
 #include <fstream>
-
-#include <locale>     // for locale, time_put
-#include <iostream>   // for cout, endl
 #include <iomanip>
 
 #include <stack>
diff --git a/glom/libglom/xsl_utils.cc b/glom/libglom/xsl_utils.cc
index 7b6037d..0eb80c8 100644
--- a/glom/libglom/xsl_utils.cc
+++ b/glom/libglom/xsl_utils.cc
@@ -18,24 +18,15 @@
  * Boston, MA 02110-1301 USA.
  */
 
-#include <libglom/libglom_config.h>
-
 #include <libglom/xsl_utils.h>
 #include <libglom/connectionpool.h>
-#include <libglom/data_structure/layout/report_parts/layoutitem_fieldsummary.h>
-#include <libglom/data_structure/glomconversions.h>
 #include <libglom/utils.h>
-#include <libxml++/libxml++.h>
 #include <libxslt/transform.h>
 //#include <libexslt/exslt.h> //For exsltRegisterAll().
 #include <giomm/file.h>
 #include <glibmm/miscutils.h>
-
 #include <iostream>
 #include <fstream>
-
-#include <locale>     // for locale, time_put
-#include <iostream>   // for cout, endl
 #include <iomanip>
 
 
diff --git a/glom/mode_data/box_data.cc b/glom/mode_data/box_data.cc
index f035c15..d695484 100644
--- a/glom/mode_data/box_data.cc
+++ b/glom/mode_data/box_data.cc
@@ -30,7 +30,6 @@
 #include <glom/python_embed/glom_python.h>
 #include <glom/python_embed/python_ui_callbacks.h>
 #include <glom/appwindow.h>
-#include <libglom/libglom_config.h>
 #include <libglom/utils.h>
 #include <iostream>
 #include <glibmm/i18n.h>
diff --git a/glom/mode_data/box_data_calendar_related.cc b/glom/mode_data/box_data_calendar_related.cc
index 3f5d400..0760673 100644
--- a/glom/mode_data/box_data_calendar_related.cc
+++ b/glom/mode_data/box_data_calendar_related.cc
@@ -26,7 +26,6 @@
 #include <libglom/sql_utils.h>
 #include <libglom/db_utils.h>
 #include <libglom/utils.h>
-#include <glom/frame_glom.h> //For show_ok_dialog()
 #include <glom/glade_utils.h>
 #include <giomm/menu.h>
 #include <glibmm/i18n.h>
diff --git a/glom/mode_data/box_data_details.cc b/glom/mode_data/box_data_details.cc
index 701ef40..c6e7cd7 100644
--- a/glom/mode_data/box_data_details.cc
+++ b/glom/mode_data/box_data_details.cc
@@ -22,7 +22,6 @@
 #include <glom/mode_data/box_data_details.h>
 #include <glom/frame_glom.h> //For show_ok_dialog().
 #include <libglom/algorithms_utils.h>
-#include <libglom/data_structure/field.h>
 #include <libglom/data_structure/relationship.h>
 #include <libglom/data_structure/glomconversions.h>
 #include <libglom/db_utils.h>
diff --git a/glom/mode_data/box_data_list.cc b/glom/mode_data/box_data_list.cc
index 8de252c..dd94ac1 100644
--- a/glom/mode_data/box_data_list.cc
+++ b/glom/mode_data/box_data_list.cc
@@ -23,12 +23,9 @@
 #include <glom/glade_utils.h>
 #include <glom/mode_design/layout/dialog_layout_list.h>
 #include <libglom/privs.h>
-#include <libglom/db_utils.h>
 #include <libglom/layout_utils.h>
 #include <libglom/utils.h> //For bold_message()).
-#include <sstream> //For stringstream
 #include <glibmm/main.h>
-#include <glibmm/i18n.h>
 
 namespace Glom
 {
diff --git a/glom/mode_data/buttonglom.cc b/glom/mode_data/buttonglom.cc
index e5a9b2a..06cf806 100644
--- a/glom/mode_data/buttonglom.cc
+++ b/glom/mode_data/buttonglom.cc
@@ -26,8 +26,6 @@
 #ifndef GLOM_ENABLE_CLIENT_ONLY
 #include <glom/mode_design/layout/layout_item_dialogs/dialog_buttonscript.h>
 #endif
-#include <glibmm/i18n.h>
-//#include <sstream> //For stringstream
 
 namespace Glom
 {
diff --git a/glom/mode_data/datawidget/cellcreation.cc b/glom/mode_data/datawidget/cellcreation.cc
index 0b63daa..f76bbf5 100644
--- a/glom/mode_data/datawidget/cellcreation.cc
+++ b/glom/mode_data/datawidget/cellcreation.cc
@@ -20,15 +20,10 @@
 
 #include <glom/utility_widgets/cellrendererlist.h>
 #include <glom/mode_data/datawidget/cellrenderer_dblist.h>
-#include <glom/mode_data/datawidget/cellrenderer_buttonimage.h>
 #include <glom/mode_data/datawidget/cellrenderer_buttontext.h>
 #include <glom/utils_ui.h>
 #include <glom/appwindow.h>
 #include <gtkmm/cellrenderertext.h>
-#include <libglom/data_structure/layout/layoutitem_field.h>
-#include <libglom/data_structure/layout/layoutitem_image.h>
-#include <libglom/utils.h>
-#include <libglom/db_utils.h>
 #include <libglom/data_structure/glomconversions.h>
 #include <iostream>
 
diff --git a/glom/mode_data/datawidget/checkbutton.cc b/glom/mode_data/datawidget/checkbutton.cc
index 6fc84c1..efd6ddf 100644
--- a/glom/mode_data/datawidget/checkbutton.cc
+++ b/glom/mode_data/datawidget/checkbutton.cc
@@ -22,9 +22,6 @@
 #include <gtkmm/messagedialog.h>
 #include <glom/dialog_invalid_data.h>
 #include <glom/appwindow.h>
-#include <glibmm/i18n.h>
-
-#include <iostream>   // for cout, endl
 
 namespace Glom
 {
diff --git a/glom/mode_data/datawidget/combo.cc b/glom/mode_data/datawidget/combo.cc
index 301cfa7..602a341 100644
--- a/glom/mode_data/datawidget/combo.cc
+++ b/glom/mode_data/datawidget/combo.cc
@@ -22,18 +22,10 @@
 #include <libglom/data_structure/glomconversions.h>
 #include <gtkmm/messagedialog.h>
 #include <glom/mode_data/datawidget/cellcreation.h>
-#include <glom/dialog_invalid_data.h>
 #include <glom/mode_data/datawidget/treemodel_db_withextratext.h>
-#include <libglom/data_structure/glomconversions.h>
-#include <libglom/db_utils.h>
 #include <glom/appwindow.h>
 #include <glom/utils_ui.h>
 #include <gtkmm/cellareabox.h>
-#include <glibmm/i18n.h>
-//#include <sstream> //For stringstream
-
-#include <locale>     // for locale, time_put
-#include <ctime>     // for struct tm
 #include <iostream>   // for cout, endl
 
 namespace Glom
diff --git a/glom/mode_data/datawidget/combo_as_radio_buttons.cc 
b/glom/mode_data/datawidget/combo_as_radio_buttons.cc
index e693f62..e84b601 100644
--- a/glom/mode_data/datawidget/combo_as_radio_buttons.cc
+++ b/glom/mode_data/datawidget/combo_as_radio_buttons.cc
@@ -22,12 +22,8 @@
 #include <libglom/data_structure/glomconversions.h>
 #include <gtkmm/messagedialog.h>
 #include <glom/dialog_invalid_data.h>
-#include <libglom/data_structure/glomconversions.h>
 #include <glom/appwindow.h>
 #include <libglom/db_utils.h>
-#include <glibmm/i18n.h>
-//#include <sstream> //For stringstream
-
 #include <iostream>   // for cout, endl
 
 namespace Glom
diff --git a/glom/mode_data/datawidget/combochoices.cc b/glom/mode_data/datawidget/combochoices.cc
index 8e011b4..5d976ae 100644
--- a/glom/mode_data/datawidget/combochoices.cc
+++ b/glom/mode_data/datawidget/combochoices.cc
@@ -22,12 +22,6 @@
 #include <libglom/data_structure/glomconversions.h>
 #include <libglom/document/document.h>
 #include <libglom/connectionpool.h>
-#include <libglom/utils.h>
-#include <glibmm/i18n.h>
-//#include <sstream> //For stringstream
-
-#include <locale>     // for locale, time_put
-#include <ctime>     // for struct tm
 #include <iostream>   // for cout, endl
 
 
diff --git a/glom/mode_data/datawidget/dialog_new_record.cc b/glom/mode_data/datawidget/dialog_new_record.cc
index 91ecd5d..7a7b446 100644
--- a/glom/mode_data/datawidget/dialog_new_record.cc
+++ b/glom/mode_data/datawidget/dialog_new_record.cc
@@ -21,8 +21,6 @@
 #include "dialog_new_record.h"
 #include <glom/utils_ui.h> //For bold_message()).
 #include <glom/appwindow.h>
-//#include <libgnome/gnome-i18n.h>
-#include <glibmm/i18n.h>
 
 namespace Glom
 {
diff --git a/glom/mode_data/datawidget/entry.cc b/glom/mode_data/datawidget/entry.cc
index 5e4d19e..1aee6a6 100644
--- a/glom/mode_data/datawidget/entry.cc
+++ b/glom/mode_data/datawidget/entry.cc
@@ -22,14 +22,8 @@
 #include <libglom/data_structure/glomconversions.h>
 #include <gtkmm/messagedialog.h>
 #include <glom/dialog_invalid_data.h>
-#include <libglom/data_structure/glomconversions.h>
 #include <glom/appwindow.h>
 #include <glom/utils_ui.h>
-#include <glibmm/i18n.h>
-//#include <sstream> //For stringstream
-
-#include <locale>     // for locale, time_put
-#include <ctime>     // for struct tm
 #include <iostream>   // for cout, endl
 
 namespace Glom
diff --git a/glom/mode_data/datawidget/label.cc b/glom/mode_data/datawidget/label.cc
index 93b880a..4879489 100644
--- a/glom/mode_data/datawidget/label.cc
+++ b/glom/mode_data/datawidget/label.cc
@@ -23,8 +23,6 @@
 #include <glom/appwindow.h>
 #include <glom/mode_design/layout/layout_item_dialogs/dialog_textobject.h>
 #include <glom/glade_utils.h>
-#include <glom/mode_data/flowtablewithfields.h>
-//#include <sstream> //For stringstream
 
 namespace Glom
 {
diff --git a/glom/mode_data/datawidget/textview.cc b/glom/mode_data/datawidget/textview.cc
index 6085b37..bfb4415 100644
--- a/glom/mode_data/datawidget/textview.cc
+++ b/glom/mode_data/datawidget/textview.cc
@@ -22,13 +22,7 @@
 #include <libglom/data_structure/glomconversions.h>
 #include <gtkmm/messagedialog.h>
 #include <glom/dialog_invalid_data.h>
-#include <libglom/data_structure/glomconversions.h>
 #include <glom/appwindow.h>
-#include <glibmm/i18n.h>
-//#include <sstream> //For stringstream
-
-#include <locale>     // for locale, time_put
-#include <ctime>     // for struct tm
 #include <iostream>   // for cout, endl
 
 namespace Glom
diff --git a/glom/mode_data/datawidget/treemodel_db.cc b/glom/mode_data/datawidget/treemodel_db.cc
index 83b5135..586913c 100644
--- a/glom/mode_data/datawidget/treemodel_db.cc
+++ b/glom/mode_data/datawidget/treemodel_db.cc
@@ -25,7 +25,6 @@
 #include <libglom/data_structure/glomconversions.h> //For util_build_sql
 #include <libglom/sql_utils.h>
 #include <libglom/db_utils.h>
-#include <libgdamm/datamodel.h>
 #include <libgdamm/dataaccesswrapper.h>
 #include <libgdamm/datamodelarray.h>
 
diff --git a/glom/mode_data/datawidget/treemodel_db_withextratext.cc 
b/glom/mode_data/datawidget/treemodel_db_withextratext.cc
index 67be60e..0ad74e5 100644
--- a/glom/mode_data/datawidget/treemodel_db_withextratext.cc
+++ b/glom/mode_data/datawidget/treemodel_db_withextratext.cc
@@ -20,13 +20,7 @@
 
 #include <iostream>
 #include "treemodel_db_withextratext.h"
-
-#include <libglom/connectionpool.h>
 #include <libglom/data_structure/glomconversions.h> //For util_build_sql
-#include <libglom/utils.h>
-#include <libglom/db_utils.h>
-
-#include "glom/appwindow.h"
 
 namespace Glom
 {
diff --git a/glom/mode_design/fields/dialog_defaultformatting.cc 
b/glom/mode_design/fields/dialog_defaultformatting.cc
index 36a6719..880f1d9 100644
--- a/glom/mode_design/fields/dialog_defaultformatting.cc
+++ b/glom/mode_design/fields/dialog_defaultformatting.cc
@@ -21,11 +21,6 @@
 #include "dialog_defaultformatting.h"
 #include <glom/glade_utils.h>
 #include <glom/utils_ui.h>
-#include <glom/appwindow.h>
-#include "../../box_db_table.h"
-#include <libglom/db_utils.h>
-//#include <libgnome/gnome-i18n.h>
-#include <glibmm/i18n.h>
 
 namespace Glom
 {


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