[glom] Remove unnecessary includes.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glom] Remove unnecessary includes.
- Date: Thu, 17 Mar 2016 12:34:18 +0000 (UTC)
commit 401c91b4d2756e6989ba837a5082446a47394bb5
Author: Murray Cumming <murrayc murrayc com>
Date: Wed Mar 16 13:43:13 2016 +0100
Remove unnecessary includes.
Found by IntelliJ CLion inspections.
glom/import_csv/dialog_import_csv_progress.cc | 1 -
glom/libglom/connectionpool_backends/mysql_self.cc | 1 -
.../connectionpool_backends/postgres_self.cc | 1 -
glom/libglom/data_structure/choicevalue.cc | 1 -
glom/libglom/data_structure/has_title_singular.cc | 1 -
glom/libglom/data_structure/layout/custom_title.cc | 1 -
glom/libglom/data_structure/layout/layoutgroup.cc | 1 -
.../layout/layoutitem_withformatting.cc | 1 -
.../layout/report_parts/layoutitem_groupby.cc | 1 -
.../layout/report_parts/layoutitem_summary.cc | 1 -
glom/libglom/data_structure/layout/static_text.cc | 1 -
.../data_structure/layout/usesrelationship.cc | 1 -
glom/libglom/privs.cc | 1 -
glom/mode_data/box_data_manyrecords.cc | 1 -
glom/mode_data/datawidget/dialog_choose_date.cc | 1 -
glom/mode_data/db_adddel/db_adddel.cc | 1 -
glom/mode_design/dialog_fields.cc | 1 -
glom/mode_design/dialog_relationships.cc | 1 -
.../layout/dialog_layout_calendar_related.cc | 1 -
.../layout/dialog_layout_list_related.cc | 1 -
.../layout_item_dialogs/combo_summarytype.cc | 1 -
.../layout_item_dialogs/comboentry_borderwidth.cc | 1 -
.../layout_item_dialogs/dialog_field_layout.cc | 1 -
.../layout_item_dialogs/dialog_field_summary.cc | 1 -
.../layout_item_dialogs/dialog_formatting.cc | 1 -
.../layout/layout_item_dialogs/dialog_group_by.cc | 1 -
.../print_layouts/dialog_text_formatting.cc | 1 -
.../report_layout/dialog_layout_report.cc | 1 -
glom/mode_design/translation/combobox_locale.cc | 1 -
.../translation/dialog_copy_translation.cc | 1 -
.../translation/dialog_identify_original.cc | 1 -
glom/print_layout/printoperation_printlayout.cc | 1 -
glom/utility_widgets/flowtable.cc | 1 -
.../gimpruler/libgimpbase/gimpbase-private.c | 2 --
glom/utility_widgets/layoutwidgetbase.cc | 1 -
35 files changed, 0 insertions(+), 36 deletions(-)
---
diff --git a/glom/import_csv/dialog_import_csv_progress.cc b/glom/import_csv/dialog_import_csv_progress.cc
index fd40576..14d8eb9 100644
--- a/glom/import_csv/dialog_import_csv_progress.cc
+++ b/glom/import_csv/dialog_import_csv_progress.cc
@@ -19,7 +19,6 @@
*/
#include "dialog_import_csv_progress.h"
-#include <libglom/libglom_config.h>
#include <libglom/db_utils.h>
#include <gtkmm/main.h>
diff --git a/glom/libglom/connectionpool_backends/mysql_self.cc
b/glom/libglom/connectionpool_backends/mysql_self.cc
index f2e36e9..c1a840b 100644
--- a/glom/libglom/connectionpool_backends/mysql_self.cc
+++ b/glom/libglom/connectionpool_backends/mysql_self.cc
@@ -19,7 +19,6 @@
*/
#include <libglom/connectionpool_backends/mysql_self.h>
-#include <libglom/connectionpool.h>
#include <libglom/utils.h>
#include <libglom/db_utils.h>
#include <libglom/spawn_with_feedback.h>
diff --git a/glom/libglom/connectionpool_backends/postgres_self.cc
b/glom/libglom/connectionpool_backends/postgres_self.cc
index 0f87720..f300174 100644
--- a/glom/libglom/connectionpool_backends/postgres_self.cc
+++ b/glom/libglom/connectionpool_backends/postgres_self.cc
@@ -19,7 +19,6 @@
*/
#include <libglom/connectionpool_backends/postgres_self.h>
-#include <libglom/connectionpool.h>
#include <libglom/utils.h>
#include <libglom/db_utils.h>
#include <libglom/spawn_with_feedback.h>
diff --git a/glom/libglom/data_structure/choicevalue.cc b/glom/libglom/data_structure/choicevalue.cc
index fac81b5..443d8f5 100644
--- a/glom/libglom/data_structure/choicevalue.cc
+++ b/glom/libglom/data_structure/choicevalue.cc
@@ -19,7 +19,6 @@
*/
#include <libglom/data_structure/choicevalue.h>
-#include <glibmm/i18n.h>
#include <iostream>
diff --git a/glom/libglom/data_structure/has_title_singular.cc
b/glom/libglom/data_structure/has_title_singular.cc
index 4d9d8ca..b777de9 100644
--- a/glom/libglom/data_structure/has_title_singular.cc
+++ b/glom/libglom/data_structure/has_title_singular.cc
@@ -19,7 +19,6 @@
*/
#include <libglom/data_structure/has_title_singular.h>
-#include <glibmm/i18n.h>
namespace Glom
{
diff --git a/glom/libglom/data_structure/layout/custom_title.cc
b/glom/libglom/data_structure/layout/custom_title.cc
index 054e1b5..b90be79 100644
--- a/glom/libglom/data_structure/layout/custom_title.cc
+++ b/glom/libglom/data_structure/layout/custom_title.cc
@@ -19,7 +19,6 @@
*/
#include <libglom/data_structure/layout/custom_title.h>
-#include <glibmm/i18n.h>
namespace Glom
{
diff --git a/glom/libglom/data_structure/layout/layoutgroup.cc
b/glom/libglom/data_structure/layout/layoutgroup.cc
index c31cdf1..6c72a38 100644
--- a/glom/libglom/data_structure/layout/layoutgroup.cc
+++ b/glom/libglom/data_structure/layout/layoutgroup.cc
@@ -19,7 +19,6 @@
*/
#include <libglom/data_structure/layout/layoutgroup.h>
-#include <libglom/data_structure/layout/layoutitem_field.h>
#include <libglom/data_structure/layout/layoutitem_portal.h>
#include <libglom/algorithms_utils.h>
#include <glibmm/i18n.h>
diff --git a/glom/libglom/data_structure/layout/layoutitem_withformatting.cc
b/glom/libglom/data_structure/layout/layoutitem_withformatting.cc
index ab46425..8ff225a 100644
--- a/glom/libglom/data_structure/layout/layoutitem_withformatting.cc
+++ b/glom/libglom/data_structure/layout/layoutitem_withformatting.cc
@@ -19,7 +19,6 @@
*/
#include "layoutitem_withformatting.h"
-#include <glibmm/i18n.h>
namespace Glom
{
diff --git a/glom/libglom/data_structure/layout/report_parts/layoutitem_groupby.cc
b/glom/libglom/data_structure/layout/report_parts/layoutitem_groupby.cc
index 37dceee..9302fc4 100644
--- a/glom/libglom/data_structure/layout/report_parts/layoutitem_groupby.cc
+++ b/glom/libglom/data_structure/layout/report_parts/layoutitem_groupby.cc
@@ -19,7 +19,6 @@
*/
#include <libglom/data_structure/layout/report_parts/layoutitem_groupby.h>
-#include <libglom/data_structure/layout/layoutitem_field.h>
#include <glibmm/i18n.h>
namespace Glom
diff --git a/glom/libglom/data_structure/layout/report_parts/layoutitem_summary.cc
b/glom/libglom/data_structure/layout/report_parts/layoutitem_summary.cc
index a9981ce..7031747 100644
--- a/glom/libglom/data_structure/layout/report_parts/layoutitem_summary.cc
+++ b/glom/libglom/data_structure/layout/report_parts/layoutitem_summary.cc
@@ -19,7 +19,6 @@
*/
#include <libglom/data_structure/layout/report_parts/layoutitem_summary.h>
-#include <libglom/data_structure/layout/layoutitem_field.h>
#include <glibmm/i18n.h>
namespace Glom
diff --git a/glom/libglom/data_structure/layout/static_text.cc
b/glom/libglom/data_structure/layout/static_text.cc
index 390d631..f22eee0 100644
--- a/glom/libglom/data_structure/layout/static_text.cc
+++ b/glom/libglom/data_structure/layout/static_text.cc
@@ -19,7 +19,6 @@
*/
#include <libglom/data_structure/layout/static_text.h>
-#include <glibmm/i18n.h>
namespace Glom
{
diff --git a/glom/libglom/data_structure/layout/usesrelationship.cc
b/glom/libglom/data_structure/layout/usesrelationship.cc
index 3689c1d..73372b2 100644
--- a/glom/libglom/data_structure/layout/usesrelationship.cc
+++ b/glom/libglom/data_structure/layout/usesrelationship.cc
@@ -19,7 +19,6 @@
*/
#include <libglom/data_structure/layout/formatting.h>
-#include <glibmm/i18n.h>
namespace Glom
{
diff --git a/glom/libglom/privs.cc b/glom/libglom/privs.cc
index 98c771e..0fc7412 100644
--- a/glom/libglom/privs.cc
+++ b/glom/libglom/privs.cc
@@ -19,7 +19,6 @@
*/
#include "privs.h"
-#include <libglom/algorithms_utils.h>
#include <libglom/standard_table_prefs_fields.h>
#include <libglom/db_utils.h>
#include <libglom/utils.h>
diff --git a/glom/mode_data/box_data_manyrecords.cc b/glom/mode_data/box_data_manyrecords.cc
index a86acb3..13cd4cc 100644
--- a/glom/mode_data/box_data_manyrecords.cc
+++ b/glom/mode_data/box_data_manyrecords.cc
@@ -19,7 +19,6 @@
*/
#include "box_data_manyrecords.h"
-#include <libglom/data_structure/glomconversions.h>
#include <glom/glade_utils.h>
#include <glom/appwindow.h>
#include <libglom/report_builder.h>
diff --git a/glom/mode_data/datawidget/dialog_choose_date.cc b/glom/mode_data/datawidget/dialog_choose_date.cc
index 66c5177..8556e31 100644
--- a/glom/mode_data/datawidget/dialog_choose_date.cc
+++ b/glom/mode_data/datawidget/dialog_choose_date.cc
@@ -19,7 +19,6 @@
*/
#include "dialog_choose_date.h"
-#include <libglom/utils.h> //For bold_message()).
//#include <libgnome/gnome-i18n.h>
#include <glibmm/i18n.h>
diff --git a/glom/mode_data/db_adddel/db_adddel.cc b/glom/mode_data/db_adddel/db_adddel.cc
index 47c1226..29d4f3a 100644
--- a/glom/mode_data/db_adddel/db_adddel.cc
+++ b/glom/mode_data/db_adddel/db_adddel.cc
@@ -19,7 +19,6 @@
*/
#include "db_adddel.h"
-#include <algorithm> //For std::find.
#include <glibmm/i18n.h>
#include <glom/utility_widgets/cellrendererlist.h>
#include <glom/mode_data/datawidget/cellrenderer_buttonimage.h>
diff --git a/glom/mode_design/dialog_fields.cc b/glom/mode_design/dialog_fields.cc
index 7c7b50a..ae10b1e 100644
--- a/glom/mode_design/dialog_fields.cc
+++ b/glom/mode_design/dialog_fields.cc
@@ -19,7 +19,6 @@
*/
#include "dialog_fields.h"
-#include "../box_db_table.h"
//#include <libgnome/gnome-i18n.h>
#include <glom/utils_ui.h> //For bold_message()).
#include <glibmm/i18n.h>
diff --git a/glom/mode_design/dialog_relationships.cc b/glom/mode_design/dialog_relationships.cc
index 7eafbc6..50f781a 100644
--- a/glom/mode_design/dialog_relationships.cc
+++ b/glom/mode_design/dialog_relationships.cc
@@ -19,7 +19,6 @@
*/
#include "dialog_relationships.h"
-#include "../box_db_table.h"
//#include <libgnome/gnome-i18n.h>
#include <glom/utils_ui.h> //For bold_message()).
#include <glibmm/i18n.h>
diff --git a/glom/mode_design/layout/dialog_layout_calendar_related.cc
b/glom/mode_design/layout/dialog_layout_calendar_related.cc
index ce15248..b160046 100644
--- a/glom/mode_design/layout/dialog_layout_calendar_related.cc
+++ b/glom/mode_design/layout/dialog_layout_calendar_related.cc
@@ -19,7 +19,6 @@
*/
#include <glom/mode_design/layout/dialog_layout_calendar_related.h>
-#include <glom/mode_design/layout/dialog_choose_field.h>
#include <glom/mode_design/layout/layout_item_dialogs/dialog_field_layout.h>
#include <libglom/utils.h> //For bold_message()).
diff --git a/glom/mode_design/layout/dialog_layout_list_related.cc
b/glom/mode_design/layout/dialog_layout_list_related.cc
index 4a8d06b..b575ac9 100644
--- a/glom/mode_design/layout/dialog_layout_list_related.cc
+++ b/glom/mode_design/layout/dialog_layout_list_related.cc
@@ -19,7 +19,6 @@
*/
#include <glom/mode_design/layout/dialog_layout_list_related.h>
-#include <glom/mode_design/layout/dialog_choose_field.h>
#include <glom/mode_design/layout/layout_item_dialogs/dialog_field_layout.h>
#include <libglom/utils.h> //For bold_message().
#include <libglom/db_utils.h>
diff --git a/glom/mode_design/layout/layout_item_dialogs/combo_summarytype.cc
b/glom/mode_design/layout/layout_item_dialogs/combo_summarytype.cc
index 0c559bc..dcaf37e 100644
--- a/glom/mode_design/layout/layout_item_dialogs/combo_summarytype.cc
+++ b/glom/mode_design/layout/layout_item_dialogs/combo_summarytype.cc
@@ -19,7 +19,6 @@
*/
#include "combo_summarytype.h"
-#include <glibmm/i18n.h>
#include <iostream>
diff --git a/glom/mode_design/layout/layout_item_dialogs/comboentry_borderwidth.cc
b/glom/mode_design/layout/layout_item_dialogs/comboentry_borderwidth.cc
index d1f0c3a..72b545f 100644
--- a/glom/mode_design/layout/layout_item_dialogs/comboentry_borderwidth.cc
+++ b/glom/mode_design/layout/layout_item_dialogs/comboentry_borderwidth.cc
@@ -19,7 +19,6 @@
*/
#include "comboentry_borderwidth.h"
-#include <sstream> //For stringstream.
namespace Glom
{
diff --git a/glom/mode_design/layout/layout_item_dialogs/dialog_field_layout.cc
b/glom/mode_design/layout/layout_item_dialogs/dialog_field_layout.cc
index 02adcc8..aa8f9b6 100644
--- a/glom/mode_design/layout/layout_item_dialogs/dialog_field_layout.cc
+++ b/glom/mode_design/layout/layout_item_dialogs/dialog_field_layout.cc
@@ -19,7 +19,6 @@
*/
#include "dialog_field_layout.h"
-#include <libglom/data_structure/glomconversions.h>
#include <glom/glade_utils.h>
#include <glom/appwindow.h>
#include <glibmm/i18n.h>
diff --git a/glom/mode_design/layout/layout_item_dialogs/dialog_field_summary.cc
b/glom/mode_design/layout/layout_item_dialogs/dialog_field_summary.cc
index a5744a8..5d369d8 100644
--- a/glom/mode_design/layout/layout_item_dialogs/dialog_field_summary.cc
+++ b/glom/mode_design/layout/layout_item_dialogs/dialog_field_summary.cc
@@ -19,7 +19,6 @@
*/
#include "dialog_field_summary.h"
-#include <libglom/data_structure/glomconversions.h>
#include <glibmm/i18n.h>
namespace Glom
diff --git a/glom/mode_design/layout/layout_item_dialogs/dialog_formatting.cc
b/glom/mode_design/layout/layout_item_dialogs/dialog_formatting.cc
index f95ec32..3902aef 100644
--- a/glom/mode_design/layout/layout_item_dialogs/dialog_formatting.cc
+++ b/glom/mode_design/layout/layout_item_dialogs/dialog_formatting.cc
@@ -19,7 +19,6 @@
*/
#include "dialog_formatting.h"
-#include <libglom/data_structure/glomconversions.h>
#include <glom/glade_utils.h>
#include <glibmm/i18n.h>
diff --git a/glom/mode_design/layout/layout_item_dialogs/dialog_group_by.cc
b/glom/mode_design/layout/layout_item_dialogs/dialog_group_by.cc
index 34165cb..02514c5 100644
--- a/glom/mode_design/layout/layout_item_dialogs/dialog_group_by.cc
+++ b/glom/mode_design/layout/layout_item_dialogs/dialog_group_by.cc
@@ -19,7 +19,6 @@
*/
#include <glom/mode_design/layout/layout_item_dialogs/dialog_group_by.h>
-#include <libglom/data_structure/glomconversions.h>
#include <glom/utils_ui.h>
#include <glom/glade_utils.h>
#include <sstream> //For stringstream
diff --git a/glom/mode_design/print_layouts/dialog_text_formatting.cc
b/glom/mode_design/print_layouts/dialog_text_formatting.cc
index d504d5a..ac35df0 100644
--- a/glom/mode_design/print_layouts/dialog_text_formatting.cc
+++ b/glom/mode_design/print_layouts/dialog_text_formatting.cc
@@ -19,7 +19,6 @@
*/
#include "dialog_text_formatting.h"
-#include <glom/box_db_table.h>
#include <glom/glade_utils.h>
#include <glibmm/i18n.h>
diff --git a/glom/mode_design/report_layout/dialog_layout_report.cc
b/glom/mode_design/report_layout/dialog_layout_report.cc
index 2258541..d2bfdde 100644
--- a/glom/mode_design/report_layout/dialog_layout_report.cc
+++ b/glom/mode_design/report_layout/dialog_layout_report.cc
@@ -19,7 +19,6 @@
*/
#include <glom/mode_design/report_layout/dialog_layout_report.h>
-#include <libglom/data_structure/layout/report_parts/layoutitem_groupby.h>
#include <libglom/data_structure/layout/report_parts/layoutitem_summary.h>
#include <libglom/data_structure/layout/report_parts/layoutitem_fieldsummary.h>
#include <libglom/data_structure/layout/report_parts/layoutitem_verticalgroup.h>
diff --git a/glom/mode_design/translation/combobox_locale.cc b/glom/mode_design/translation/combobox_locale.cc
index a6270bf..ea937e0 100644
--- a/glom/mode_design/translation/combobox_locale.cc
+++ b/glom/mode_design/translation/combobox_locale.cc
@@ -19,7 +19,6 @@
*/
#include "combobox_locale.h"
-#include <glom/mode_design/iso_codes.h>
#include <iostream>
diff --git a/glom/mode_design/translation/dialog_copy_translation.cc
b/glom/mode_design/translation/dialog_copy_translation.cc
index b08725b..738f0b5 100644
--- a/glom/mode_design/translation/dialog_copy_translation.cc
+++ b/glom/mode_design/translation/dialog_copy_translation.cc
@@ -19,7 +19,6 @@
*/
#include "dialog_copy_translation.h"
-#include <libglom/utils.h> //For bold_message()).
#include <glom/appwindow.h>
#include <glibmm/i18n.h>
diff --git a/glom/mode_design/translation/dialog_identify_original.cc
b/glom/mode_design/translation/dialog_identify_original.cc
index 8f2767b..3b23d40 100644
--- a/glom/mode_design/translation/dialog_identify_original.cc
+++ b/glom/mode_design/translation/dialog_identify_original.cc
@@ -19,7 +19,6 @@
*/
#include "dialog_identify_original.h"
-#include <glom/mode_design/iso_codes.h>
#include <glom/utils_ui.h> //For bold_message()).
#include <glom/appwindow.h>
#include <glibmm/i18n.h>
diff --git a/glom/print_layout/printoperation_printlayout.cc b/glom/print_layout/printoperation_printlayout.cc
index e7e4988..e4e8369 100644
--- a/glom/print_layout/printoperation_printlayout.cc
+++ b/glom/print_layout/printoperation_printlayout.cc
@@ -15,7 +15,6 @@
*/
#include <glom/print_layout/printoperation_printlayout.h>
-#include <iostream>
namespace Glom
{
diff --git a/glom/utility_widgets/flowtable.cc b/glom/utility_widgets/flowtable.cc
index ba28ad7..0e8dba1 100644
--- a/glom/utility_widgets/flowtable.cc
+++ b/glom/utility_widgets/flowtable.cc
@@ -19,7 +19,6 @@
*/
#include "flowtable.h"
-#include "layoutwidgetbase.h"
#include <libglom/algorithms_utils.h>
#include <iostream>
#include <gtkmm/eventbox.h>
diff --git a/glom/utility_widgets/gimpruler/libgimpbase/gimpbase-private.c
b/glom/utility_widgets/gimpruler/libgimpbase/gimpbase-private.c
index a47f70f..52971df 100644
--- a/glom/utility_widgets/gimpruler/libgimpbase/gimpbase-private.c
+++ b/glom/utility_widgets/gimpruler/libgimpbase/gimpbase-private.c
@@ -19,8 +19,6 @@
* <http://www.gnu.org/licenses/>.
*/
-#include "config.h"
-
#include <glib-object.h>
#include "libgimpbase/gimpbase.h"
diff --git a/glom/utility_widgets/layoutwidgetbase.cc b/glom/utility_widgets/layoutwidgetbase.cc
index 4a03c3b..4ff5513 100644
--- a/glom/utility_widgets/layoutwidgetbase.cc
+++ b/glom/utility_widgets/layoutwidgetbase.cc
@@ -19,7 +19,6 @@
*/
#include "layoutwidgetbase.h"
-#include <glibmm/i18n.h>
#include <glom/appwindow.h>
#include <glom/mode_data/datawidget/textview.h>
#include <glom/mode_data/datawidget/label.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]