Commit 725616fd authored by Murray Cumming's avatar Murray Cumming
Browse files

Remove some unnecessary includes.

Found by Jetbrains Clion inspections.
parent 9437263b
......@@ -47,8 +47,6 @@
#include <gtkmm/main.h>
#include <cstdio>
#include <memory> //For std::shared_ptr<>
#include <giomm/file.h>
#include <glibmm/spawn.h>
#include <glibmm/convert.h>
......
......@@ -43,15 +43,11 @@
#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>
#include <libglom/data_structure/layout/report_parts/layoutitem_header.h>
#include <libglom/data_structure/layout/report_parts/layoutitem_footer.h>
#include <glom/python_embed/glom_python.h>
#include <libglom/privs.h>
#include <libglom/db_utils.h>
#include <glibmm/i18n.h>
#include <sstream> //For stringstream
#include <libgda/libgda.h> // gda_g_type_from_string
namespace Glom
......
......@@ -19,10 +19,6 @@
*/
#include "base_db_table.h"
#include <libglom/data_structure/glomconversions.h>
#include <glom/appwindow.h>
#include <glom/python_embed/glom_python.h>
#include <sstream>
namespace Glom
{
......
......@@ -19,9 +19,6 @@
*/
#include "box_db_table.h"
#include <libglom/data_structure/glomconversions.h>
#include <glom/python_embed/glom_python.h>
#include <sstream>
namespace Glom
{
......
......@@ -20,7 +20,6 @@
#include "dialog_import_csv.h"
#include <glom/import_csv/file_encodings.h>
#include <libglom/libglom_config.h>
#include <libglom/utils.h>
#include <libglom/data_structure/glomconversions.h>
#include <gtkmm/messagedialog.h>
......
......@@ -45,7 +45,6 @@
#include <glibmm/convert.h>
#include <glibmm/miscutils.h>
#include <glibmm/i18n.h>
#include <iostream>
......
......@@ -19,7 +19,6 @@
*/
#include "config.h" // For MYSQL_UTILS_PATH
#include <libglom/libglom_config.h>
#include <libglom/connectionpool_backends/mysql.h>
#include <libglom/spawn_with_feedback.h>
......@@ -32,7 +31,6 @@
#include <glibmm/miscutils.h>
#include <glibmm/shell.h>
#include <glib/gstdio.h> /* For g_rename(). TODO: Wrap this in glibmm? */
#include <glibmm/i18n.h>
#include <iostream>
......
......@@ -21,7 +21,6 @@
#include <libglom/libglom_config.h>
#include <libglom/connectionpool_backends/mysql_central.h>
#include <glibmm/i18n.h>
// Uncomment to see debug messages
//#define GLOM_CONNECTION_DEBUG
......
......@@ -20,7 +20,6 @@
#include <libglom/connectionpool_backends/mysql_self.h>
#include <libglom/utils.h>
#include <libglom/db_utils.h>
#include <libglom/spawn_with_feedback.h>
#include <giomm/file.h>
#include <glib/gstdio.h> // For g_remove
......@@ -33,8 +32,6 @@
#include <glibmm/main.h>
#include <glibmm/shell.h>
#include <glibmm/i18n.h>
#include <sstream> //For stringstream
#include <iostream>
#ifdef G_OS_WIN32
......@@ -47,8 +44,6 @@
# include <netinet/in.h> //For sockaddr_in
#endif
#include <signal.h> //To catch segfaults
// Uncomment to see debug messages
//#define GLOM_CONNECTION_DEBUG
......
......@@ -32,7 +32,6 @@
#include <glibmm/miscutils.h>
#include <glibmm/shell.h>
#include <glib/gstdio.h> /* For g_rename(). TODO: Wrap this in glibmm? */
#include <glibmm/i18n.h>
#include <iostream>
......
......@@ -21,7 +21,6 @@
#include <libglom/libglom_config.h>
#include <libglom/connectionpool_backends/postgres_central.h>
#include <glibmm/i18n.h>
// Uncomment to see debug messages
//#define GLOM_CONNECTION_DEBUG
......
......@@ -20,8 +20,6 @@
#include <libglom/data_structure/choicevalue.h>
#include <iostream>
namespace Glom
{
......
......@@ -21,7 +21,6 @@
#include <libglom/data_structure/fieldtypes.h>
#include <iostream> //For debug output
#include <libgda/gda-util.h> // For gda_g_type_to_string
#include <libglom/connectionpool.h>
#include <libglom/utils.h>
namespace Glom
......
......@@ -21,7 +21,6 @@
#include <libglom/data_structure/layout/formatting.h>
#include <libglom/data_structure/glomconversions.h>
#include <libglom/document/document.h>
#include <glibmm/i18n.h>
const guint MULTILINE_TEXT_DEFAULT_HEIGHT_LINES = 6;
//const char* MULTILINE_TEXT_DEFAULT_WIDTH_EXAMPLE = "abcdefghijklmnopqrstuvwxyz"
......
......@@ -19,7 +19,6 @@
*/
#include <libglom/data_structure/layout/layoutgroup.h>
#include <libglom/data_structure/layout/layoutitem_portal.h>
#include <libglom/algorithms_utils.h>
#include <glibmm/i18n.h>
#include <iostream>
......
......@@ -21,7 +21,6 @@
#include <libglom/data_structure/layout/layoutitem_image.h>
#include <libglom/utils.h>
#include <libglom/file_utils.h>
#include <libglom/data_structure/glomconversions.h>
#include <glibmm/i18n.h>
namespace Glom
......
......@@ -36,7 +36,6 @@
#include <libglom/data_structure/layout/layoutitem_calendarportal.h>
#include <libglom/data_structure/layout/layoutitem_line.h>
#include <libglom/standard_table_prefs_fields.h>
#include <libglom/spawn_with_feedback.h>
#include <libglom/translations_po.h>
#include <giomm/file.h>
#include <glibmm/miscutils.h>
......
......@@ -20,26 +20,16 @@
#include <libglom/layout_utils.h>
#include <libglom/db_utils.h>
#include <libglom/layout_utils.h>
#include <libglom/privs.h>
#include <libglom/connectionpool.h>
#include <libglom/data_structure/layout/report_parts/layoutitem_fieldsummary.h>
#include <libglom/data_structure/glomconversions.h>
#include <libglom/string_utils.h>
#include "privs.h"
#include <giomm/file.h>
#include <giomm/resource.h>
#include <glibmm/convert.h>
#include <glibmm/fileutils.h>
#include <glibmm/miscutils.h>
#include <glibmm/i18n.h>
#include <string.h> // for strchr
#include <sstream> //For stringstream
#include <iostream>
#include "utils.h"
namespace Glom
......
......@@ -24,7 +24,6 @@
#include <libglom/data_structure/field.h>
#include <libglom/data_structure/glomconversions.h>
#include <glibmm/ustring.h>
namespace Glom
......
......@@ -25,11 +25,7 @@
#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>
#include <glibmm/ustring.h>
//#include "glom/appwindow.h"
namespace Glom
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment