[gtkmm-documentation] Fix the build with latest gtkmm-2.22 with --enable-warnings=fatal.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm-documentation] Fix the build with latest gtkmm-2.22 with --enable-warnings=fatal.
- Date: Fri, 16 Jul 2010 10:41:32 +0000 (UTC)
commit fba9d87eb4e8aa174c285668a7b1fc0d96a2aa73
Author: Murray Cumming <murrayc murrayc com>
Date: Fri Jul 16 12:41:22 2010 +0200
Fix the build with latest gtkmm-2.22 with --enable-warnings=fatal.
Generally include gtkmm/box.h before other gtkmm headers and include
gtkmm/main.h after other gtkmm headers. Not pleasant.
ChangeLog | 7 +++++++
examples/book/alignment/main.cc | 2 +-
examples/book/aspectframe/main.cc | 2 +-
examples/book/assistant/main.cc | 2 +-
examples/book/box/main.cc | 4 ++--
examples/book/buttonbox/main.cc | 2 +-
examples/book/buttons/button/main.cc | 2 +-
examples/book/buttons/checkbutton/main.cc | 2 +-
examples/book/buttons/filechooserbutton/main.cc | 2 +-
examples/book/buttons/radiobutton/main.cc | 2 +-
examples/book/buttons/radiobutton/radiobuttons.h | 2 +-
examples/book/buttons/togglebutton/main.cc | 2 +-
examples/book/clipboard/ideal/main.cc | 2 +-
examples/book/clipboard/simple/main.cc | 2 +-
examples/book/combobox/complex/main.cc | 2 +-
examples/book/combobox/text/main.cc | 2 +-
examples/book/comboboxentry/complex/main.cc | 2 +-
examples/book/comboboxentry/text/main.cc | 2 +-
examples/book/custom/custom_container/main.cc | 2 +-
examples/book/custom/custom_widget/main.cc | 2 +-
examples/book/dialogs/aboutdialog/main.cc | 2 +-
examples/book/dialogs/colorselectiondialog/main.cc | 2 +-
examples/book/dialogs/filechooserdialog/main.cc | 2 +-
examples/book/dialogs/fileselection/main.cc | 2 +-
examples/book/dialogs/fontselectiondialog/main.cc | 2 +-
examples/book/dialogs/messagedialog/main.cc | 2 +-
examples/book/dialogs/simple/main.cc | 2 +-
examples/book/drag_and_drop/dndwindow.h | 2 +-
examples/book/drag_and_drop/main.cc | 2 +-
examples/book/entry/completion/main.cc | 2 +-
examples/book/entry/icon/main.cc | 2 +-
examples/book/entry/progress/main.cc | 2 +-
examples/book/entry/simple/main.cc | 2 +-
examples/book/eventbox/main.cc | 2 +-
examples/book/expander/main.cc | 2 +-
examples/book/frame/main.cc | 2 +-
examples/book/helloworld/main.cc | 2 +-
examples/book/helloworld2/helloworld.h | 2 +-
examples/book/helloworld2/main.cc | 2 +-
examples/book/iconview/main.cc | 2 +-
examples/book/infobar/main.cc | 2 +-
examples/book/label/main.cc | 2 +-
examples/book/menus/main_menu/main.cc | 2 +-
examples/book/menus/popup/main.cc | 2 +-
examples/book/notebook/main.cc | 2 +-
examples/book/paned/main.cc | 2 +-
examples/book/printing/advanced/main.cc | 2 +-
examples/book/printing/simple/main.cc | 2 +-
examples/book/progressbar/main.cc | 2 +-
examples/book/range_widgets/main.cc | 2 +-
examples/book/recent_files/main.cc | 2 +-
examples/book/scrolledwindow/main.cc | 2 +-
examples/book/spinbutton/main.cc | 2 +-
examples/book/table/main.cc | 2 +-
examples/book/textview/main.cc | 2 +-
examples/book/toolbar/main.cc | 2 +-
examples/book/toolpalette/main.cc | 2 +-
examples/book/tooltips/main.cc | 2 +-
examples/book/treeview/combo_renderer/main.cc | 2 +-
examples/book/treeview/drag_and_drop/main.cc | 2 +-
examples/book/treeview/editable_cells/main.cc | 2 +-
examples/book/treeview/filter/main.cc | 2 +-
examples/book/treeview/filter_modify/main.cc | 2 +-
examples/book/treeview/list/main.cc | 2 +-
.../book/treeview/listviewtext/examplewindow.h | 2 +-
examples/book/treeview/listviewtext/main.cc | 2 +-
examples/book/treeview/modelsort/main.cc | 2 +-
examples/book/treeview/popup/main.cc | 2 +-
examples/book/treeview/tree/main.cc | 2 +-
examples/book/update_ui/main.cc | 2 +-
examples/others/arrow/arrow.cc | 2 +-
.../others/cellrenderercustom/cellrendererlist.cc | 2 +-
.../others/cellrenderercustom/cellrendererpopup.cc | 3 +--
.../others/cellrenderercustom/cellrendererpopup.h | 2 +-
examples/others/cellrenderercustom/popupentry.cc | 2 +-
examples/others/cellrenderercustom/testpopup.cc | 2 +-
examples/others/dnd/dndwindow.h | 6 +-----
examples/others/dnd/main.cc | 2 +-
examples/others/exception/exceptiontest.cc | 3 ++-
examples/others/gdk/radar.cc | 11 +++++------
examples/others/idle/idle.cc | 2 +-
examples/others/rulers/rulers.cc | 2 +-
examples/others/stock/stock.cc | 5 +++--
examples/others/tictactoe/ttt_test.cc | 5 +++--
examples/others/treemodelcustom/main.cc | 2 +-
85 files changed, 101 insertions(+), 97 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 64b1d75..58b0d0e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-07-16 Murray Cumming <murrayc murrayc com>
+
+ Fix the build with latest gtkmm-2.22 with --enable-warnings=fatal.
+
+ Generally include gtkmm/box.h before other gtkmm headers and include
+ gtkmm/main.h after other gtkmm headers. Not pleasant.
+
2010-06-01 Murray Cumming <murrayc murrayc com>
Remove orphaned undef.
diff --git a/examples/book/alignment/main.cc b/examples/book/alignment/main.cc
index 4a17a31..4620054 100644
--- a/examples/book/alignment/main.cc
+++ b/examples/book/alignment/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/aspectframe/main.cc b/examples/book/aspectframe/main.cc
index 4a17a31..4620054 100644
--- a/examples/book/aspectframe/main.cc
+++ b/examples/book/aspectframe/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/assistant/main.cc b/examples/book/assistant/main.cc
index 064e739..6d800d0 100644
--- a/examples/book/assistant/main.cc
+++ b/examples/book/assistant/main.cc
@@ -14,8 +14,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/box/main.cc b/examples/book/box/main.cc
index 0aed61a..a9c4344 100644
--- a/examples/book/box/main.cc
+++ b/examples/book/box/main.cc
@@ -16,10 +16,10 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#include "examplewindow.h"
+#include <gtkmm/main.h>
#include <iostream>
#include <cstdlib>
-#include <gtkmm/main.h>
-#include "examplewindow.h"
using std::atoi;
diff --git a/examples/book/buttonbox/main.cc b/examples/book/buttonbox/main.cc
index 4a17a31..4620054 100644
--- a/examples/book/buttonbox/main.cc
+++ b/examples/book/buttonbox/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/buttons/button/main.cc b/examples/book/buttons/button/main.cc
index 9e327a5..04683fb 100644
--- a/examples/book/buttons/button/main.cc
+++ b/examples/book/buttons/button/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "buttons.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/buttons/checkbutton/main.cc b/examples/book/buttons/checkbutton/main.cc
index 4a17a31..4620054 100644
--- a/examples/book/buttons/checkbutton/main.cc
+++ b/examples/book/buttons/checkbutton/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/buttons/filechooserbutton/main.cc b/examples/book/buttons/filechooserbutton/main.cc
index 4a17a31..4620054 100644
--- a/examples/book/buttons/filechooserbutton/main.cc
+++ b/examples/book/buttons/filechooserbutton/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/buttons/radiobutton/main.cc b/examples/book/buttons/radiobutton/main.cc
index 06a12c4..2a8a582 100644
--- a/examples/book/buttons/radiobutton/main.cc
+++ b/examples/book/buttons/radiobutton/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "radiobuttons.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/buttons/radiobutton/radiobuttons.h b/examples/book/buttons/radiobutton/radiobuttons.h
index 51d134e..119eb20 100644
--- a/examples/book/buttons/radiobutton/radiobuttons.h
+++ b/examples/book/buttons/radiobutton/radiobuttons.h
@@ -19,9 +19,9 @@
#ifndef GTKMM_EXAMPLE_RADIOBUTTONS_H
#define GTKMM_EXAMPLE_RADIOBUTTONS_H
+#include <gtkmm/box.h>
#include <gtkmm/window.h>
#include <gtkmm/radiobutton.h>
-#include <gtkmm/box.h>
#include <gtkmm/separator.h>
class RadioButtons : public Gtk::Window
diff --git a/examples/book/buttons/togglebutton/main.cc b/examples/book/buttons/togglebutton/main.cc
index 4a17a31..4620054 100644
--- a/examples/book/buttons/togglebutton/main.cc
+++ b/examples/book/buttons/togglebutton/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/clipboard/ideal/main.cc b/examples/book/clipboard/ideal/main.cc
index 4a17a31..4620054 100644
--- a/examples/book/clipboard/ideal/main.cc
+++ b/examples/book/clipboard/ideal/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/clipboard/simple/main.cc b/examples/book/clipboard/simple/main.cc
index 4a17a31..4620054 100644
--- a/examples/book/clipboard/simple/main.cc
+++ b/examples/book/clipboard/simple/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/combobox/complex/main.cc b/examples/book/combobox/complex/main.cc
index 4a17a31..4620054 100644
--- a/examples/book/combobox/complex/main.cc
+++ b/examples/book/combobox/complex/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/combobox/text/main.cc b/examples/book/combobox/text/main.cc
index 4a17a31..4620054 100644
--- a/examples/book/combobox/text/main.cc
+++ b/examples/book/combobox/text/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/comboboxentry/complex/main.cc b/examples/book/comboboxentry/complex/main.cc
index 4a17a31..4620054 100644
--- a/examples/book/comboboxentry/complex/main.cc
+++ b/examples/book/comboboxentry/complex/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/comboboxentry/text/main.cc b/examples/book/comboboxentry/text/main.cc
index 4a17a31..4620054 100644
--- a/examples/book/comboboxentry/text/main.cc
+++ b/examples/book/comboboxentry/text/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/custom/custom_container/main.cc b/examples/book/custom/custom_container/main.cc
index 3f47eb9..aae8917 100644
--- a/examples/book/custom/custom_container/main.cc
+++ b/examples/book/custom/custom_container/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/custom/custom_widget/main.cc b/examples/book/custom/custom_widget/main.cc
index 3f47eb9..aae8917 100644
--- a/examples/book/custom/custom_widget/main.cc
+++ b/examples/book/custom/custom_widget/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/dialogs/aboutdialog/main.cc b/examples/book/dialogs/aboutdialog/main.cc
index 4a17a31..4620054 100644
--- a/examples/book/dialogs/aboutdialog/main.cc
+++ b/examples/book/dialogs/aboutdialog/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/dialogs/colorselectiondialog/main.cc b/examples/book/dialogs/colorselectiondialog/main.cc
index 4a17a31..4620054 100644
--- a/examples/book/dialogs/colorselectiondialog/main.cc
+++ b/examples/book/dialogs/colorselectiondialog/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/dialogs/filechooserdialog/main.cc b/examples/book/dialogs/filechooserdialog/main.cc
index 4a17a31..4620054 100644
--- a/examples/book/dialogs/filechooserdialog/main.cc
+++ b/examples/book/dialogs/filechooserdialog/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/dialogs/fileselection/main.cc b/examples/book/dialogs/fileselection/main.cc
index 4a17a31..4620054 100644
--- a/examples/book/dialogs/fileselection/main.cc
+++ b/examples/book/dialogs/fileselection/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/dialogs/fontselectiondialog/main.cc b/examples/book/dialogs/fontselectiondialog/main.cc
index 4a17a31..4620054 100644
--- a/examples/book/dialogs/fontselectiondialog/main.cc
+++ b/examples/book/dialogs/fontselectiondialog/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/dialogs/messagedialog/main.cc b/examples/book/dialogs/messagedialog/main.cc
index 4a17a31..4620054 100644
--- a/examples/book/dialogs/messagedialog/main.cc
+++ b/examples/book/dialogs/messagedialog/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/dialogs/simple/main.cc b/examples/book/dialogs/simple/main.cc
index 4a17a31..4620054 100644
--- a/examples/book/dialogs/simple/main.cc
+++ b/examples/book/dialogs/simple/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/drag_and_drop/dndwindow.h b/examples/book/drag_and_drop/dndwindow.h
index 8ad318e..692ed65 100644
--- a/examples/book/drag_and_drop/dndwindow.h
+++ b/examples/book/drag_and_drop/dndwindow.h
@@ -19,9 +19,9 @@
#ifndef GTKMM_EXAMPLE_DNDWINDOW_H
#define GTKMM_EXAMPLE_DNDWINDOW_H
+#include <gtkmm/box.h>
#include <gtkmm/label.h>
#include <gtkmm/window.h>
-#include <gtkmm/box.h>
#include <gtkmm/button.h>
class DnDWindow : public Gtk::Window
diff --git a/examples/book/drag_and_drop/main.cc b/examples/book/drag_and_drop/main.cc
index 26a4d98..de2fc65 100644
--- a/examples/book/drag_and_drop/main.cc
+++ b/examples/book/drag_and_drop/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "dndwindow.h"
+#include <gtkmm/main.h>
int main (int argc, char *argv[])
{
diff --git a/examples/book/entry/completion/main.cc b/examples/book/entry/completion/main.cc
index 4a17a31..4620054 100644
--- a/examples/book/entry/completion/main.cc
+++ b/examples/book/entry/completion/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/entry/icon/main.cc b/examples/book/entry/icon/main.cc
index 4a17a31..4620054 100644
--- a/examples/book/entry/icon/main.cc
+++ b/examples/book/entry/icon/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/entry/progress/main.cc b/examples/book/entry/progress/main.cc
index 4a17a31..4620054 100644
--- a/examples/book/entry/progress/main.cc
+++ b/examples/book/entry/progress/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/entry/simple/main.cc b/examples/book/entry/simple/main.cc
index 4a17a31..4620054 100644
--- a/examples/book/entry/simple/main.cc
+++ b/examples/book/entry/simple/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/eventbox/main.cc b/examples/book/eventbox/main.cc
index 4a17a31..4620054 100644
--- a/examples/book/eventbox/main.cc
+++ b/examples/book/eventbox/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/expander/main.cc b/examples/book/expander/main.cc
index 4a17a31..4620054 100644
--- a/examples/book/expander/main.cc
+++ b/examples/book/expander/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/frame/main.cc b/examples/book/frame/main.cc
index 4a17a31..4620054 100644
--- a/examples/book/frame/main.cc
+++ b/examples/book/frame/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/helloworld/main.cc b/examples/book/helloworld/main.cc
index 59bb007..181c850 100644
--- a/examples/book/helloworld/main.cc
+++ b/examples/book/helloworld/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "helloworld.h"
+#include <gtkmm/main.h>
int main (int argc, char *argv[])
{
diff --git a/examples/book/helloworld2/helloworld.h b/examples/book/helloworld2/helloworld.h
index 0cc221d..ebf1a94 100644
--- a/examples/book/helloworld2/helloworld.h
+++ b/examples/book/helloworld2/helloworld.h
@@ -19,8 +19,8 @@
#ifndef GTKMM_EXAMPLE_HELLOWORLD_H
#define GTKMM_EXAMPLE_HELLOWORLD_H
-#include <gtkmm/button.h>
#include <gtkmm/box.h>
+#include <gtkmm/button.h>
#include <gtkmm/window.h>
class HelloWorld : public Gtk::Window
diff --git a/examples/book/helloworld2/main.cc b/examples/book/helloworld2/main.cc
index 59bb007..181c850 100644
--- a/examples/book/helloworld2/main.cc
+++ b/examples/book/helloworld2/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "helloworld.h"
+#include <gtkmm/main.h>
int main (int argc, char *argv[])
{
diff --git a/examples/book/iconview/main.cc b/examples/book/iconview/main.cc
index 4a17a31..4620054 100644
--- a/examples/book/iconview/main.cc
+++ b/examples/book/iconview/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/infobar/main.cc b/examples/book/infobar/main.cc
index 318b3a3..fe6e705 100644
--- a/examples/book/infobar/main.cc
+++ b/examples/book/infobar/main.cc
@@ -14,8 +14,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/label/main.cc b/examples/book/label/main.cc
index 4a17a31..4620054 100644
--- a/examples/book/label/main.cc
+++ b/examples/book/label/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/menus/main_menu/main.cc b/examples/book/menus/main_menu/main.cc
index 4a17a31..4620054 100644
--- a/examples/book/menus/main_menu/main.cc
+++ b/examples/book/menus/main_menu/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/menus/popup/main.cc b/examples/book/menus/popup/main.cc
index 4a17a31..4620054 100644
--- a/examples/book/menus/popup/main.cc
+++ b/examples/book/menus/popup/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/notebook/main.cc b/examples/book/notebook/main.cc
index 4a17a31..4620054 100644
--- a/examples/book/notebook/main.cc
+++ b/examples/book/notebook/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/paned/main.cc b/examples/book/paned/main.cc
index 4a17a31..4620054 100644
--- a/examples/book/paned/main.cc
+++ b/examples/book/paned/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/printing/advanced/main.cc b/examples/book/printing/advanced/main.cc
index 232e408..465f220 100644
--- a/examples/book/printing/advanced/main.cc
+++ b/examples/book/printing/advanced/main.cc
@@ -14,8 +14,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/printing/simple/main.cc b/examples/book/printing/simple/main.cc
index 232e408..465f220 100644
--- a/examples/book/printing/simple/main.cc
+++ b/examples/book/printing/simple/main.cc
@@ -14,8 +14,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/progressbar/main.cc b/examples/book/progressbar/main.cc
index 4a17a31..4620054 100644
--- a/examples/book/progressbar/main.cc
+++ b/examples/book/progressbar/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/range_widgets/main.cc b/examples/book/range_widgets/main.cc
index 4a17a31..4620054 100644
--- a/examples/book/range_widgets/main.cc
+++ b/examples/book/range_widgets/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/recent_files/main.cc b/examples/book/recent_files/main.cc
index 4a17a31..4620054 100644
--- a/examples/book/recent_files/main.cc
+++ b/examples/book/recent_files/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/scrolledwindow/main.cc b/examples/book/scrolledwindow/main.cc
index 4a17a31..4620054 100644
--- a/examples/book/scrolledwindow/main.cc
+++ b/examples/book/scrolledwindow/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/spinbutton/main.cc b/examples/book/spinbutton/main.cc
index 4a17a31..4620054 100644
--- a/examples/book/spinbutton/main.cc
+++ b/examples/book/spinbutton/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/table/main.cc b/examples/book/table/main.cc
index 4a17a31..4620054 100644
--- a/examples/book/table/main.cc
+++ b/examples/book/table/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/textview/main.cc b/examples/book/textview/main.cc
index 4a17a31..4620054 100644
--- a/examples/book/textview/main.cc
+++ b/examples/book/textview/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/toolbar/main.cc b/examples/book/toolbar/main.cc
index 4a17a31..4620054 100644
--- a/examples/book/toolbar/main.cc
+++ b/examples/book/toolbar/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/toolpalette/main.cc b/examples/book/toolpalette/main.cc
index 6b3659e..fe1f52e 100644
--- a/examples/book/toolpalette/main.cc
+++ b/examples/book/toolpalette/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/tooltips/main.cc b/examples/book/tooltips/main.cc
index ca77d06..0ebc818 100644
--- a/examples/book/tooltips/main.cc
+++ b/examples/book/tooltips/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/treeview/combo_renderer/main.cc b/examples/book/treeview/combo_renderer/main.cc
index 4a17a31..4620054 100644
--- a/examples/book/treeview/combo_renderer/main.cc
+++ b/examples/book/treeview/combo_renderer/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/treeview/drag_and_drop/main.cc b/examples/book/treeview/drag_and_drop/main.cc
index 4a17a31..4620054 100644
--- a/examples/book/treeview/drag_and_drop/main.cc
+++ b/examples/book/treeview/drag_and_drop/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/treeview/editable_cells/main.cc b/examples/book/treeview/editable_cells/main.cc
index 4a17a31..4620054 100644
--- a/examples/book/treeview/editable_cells/main.cc
+++ b/examples/book/treeview/editable_cells/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/treeview/filter/main.cc b/examples/book/treeview/filter/main.cc
index 4a17a31..4620054 100644
--- a/examples/book/treeview/filter/main.cc
+++ b/examples/book/treeview/filter/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/treeview/filter_modify/main.cc b/examples/book/treeview/filter_modify/main.cc
index 4a17a31..4620054 100644
--- a/examples/book/treeview/filter_modify/main.cc
+++ b/examples/book/treeview/filter_modify/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/treeview/list/main.cc b/examples/book/treeview/list/main.cc
index 4a17a31..4620054 100644
--- a/examples/book/treeview/list/main.cc
+++ b/examples/book/treeview/list/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/treeview/listviewtext/examplewindow.h b/examples/book/treeview/listviewtext/examplewindow.h
index b4be55d..0ea0ff5 100644
--- a/examples/book/treeview/listviewtext/examplewindow.h
+++ b/examples/book/treeview/listviewtext/examplewindow.h
@@ -19,8 +19,8 @@
#ifndef GTKMM_EXAMPLEWINDOW_H
#define GTKMM_EXAMPLEWINDOW_H
-#include <gtkmm/window.h>
#include <gtkmm/box.h>
+#include <gtkmm/window.h>
#include <gtkmm/button.h>
#include <gtkmm/buttonbox.h>
#include <gtkmm/scrolledwindow.h>
diff --git a/examples/book/treeview/listviewtext/main.cc b/examples/book/treeview/listviewtext/main.cc
index 4a17a31..4620054 100644
--- a/examples/book/treeview/listviewtext/main.cc
+++ b/examples/book/treeview/listviewtext/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/treeview/modelsort/main.cc b/examples/book/treeview/modelsort/main.cc
index 4a17a31..4620054 100644
--- a/examples/book/treeview/modelsort/main.cc
+++ b/examples/book/treeview/modelsort/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/treeview/popup/main.cc b/examples/book/treeview/popup/main.cc
index 4a17a31..4620054 100644
--- a/examples/book/treeview/popup/main.cc
+++ b/examples/book/treeview/popup/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/treeview/tree/main.cc b/examples/book/treeview/tree/main.cc
index 4a17a31..4620054 100644
--- a/examples/book/treeview/tree/main.cc
+++ b/examples/book/treeview/tree/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/book/update_ui/main.cc b/examples/book/update_ui/main.cc
index 4a17a31..4620054 100644
--- a/examples/book/update_ui/main.cc
+++ b/examples/book/update_ui/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
diff --git a/examples/others/arrow/arrow.cc b/examples/others/arrow/arrow.cc
index 3211c21..0f075e3 100644
--- a/examples/others/arrow/arrow.cc
+++ b/examples/others/arrow/arrow.cc
@@ -1,5 +1,5 @@
-#include <gtkmm/arrow.h>
#include <gtkmm/box.h>
+#include <gtkmm/arrow.h>
#include <gtkmm/button.h>
#include <gtkmm/window.h>
#include <gtkmm/main.h>
diff --git a/examples/others/cellrenderercustom/cellrendererlist.cc b/examples/others/cellrenderercustom/cellrendererlist.cc
index ba93188..728b59d 100644
--- a/examples/others/cellrenderercustom/cellrendererlist.cc
+++ b/examples/others/cellrenderercustom/cellrendererlist.cc
@@ -16,9 +16,9 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#include <gtkmm.h>
#include "cellrendererlist.h"
#include "popupentry.h"
-#include <gtkmm.h>
namespace
diff --git a/examples/others/cellrenderercustom/cellrendererpopup.cc b/examples/others/cellrenderercustom/cellrendererpopup.cc
index 7c12519..c5d4a16 100644
--- a/examples/others/cellrenderercustom/cellrendererpopup.cc
+++ b/examples/others/cellrenderercustom/cellrendererpopup.cc
@@ -16,12 +16,11 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#include <gtkmm.h>
#include "cellrendererpopup.h"
#include "popupentry.h"
-
#include <gdk/gdk.h>
#include <gtk/gtkmain.h>
-#include <gtkmm.h>
#include <algorithm>
#include <memory>
diff --git a/examples/others/cellrenderercustom/cellrendererpopup.h b/examples/others/cellrenderercustom/cellrendererpopup.h
index c6c7217..8f9a004 100644
--- a/examples/others/cellrenderercustom/cellrendererpopup.h
+++ b/examples/others/cellrenderercustom/cellrendererpopup.h
@@ -16,9 +16,9 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gdkmm.h>
#include <gtkmm/cellrenderertext.h>
#include <gtkmm/window.h>
+#include <gdkmm.h>
class PopupEntry;
diff --git a/examples/others/cellrenderercustom/popupentry.cc b/examples/others/cellrenderercustom/popupentry.cc
index 1e6728c..cf02b89 100644
--- a/examples/others/cellrenderercustom/popupentry.cc
+++ b/examples/others/cellrenderercustom/popupentry.cc
@@ -16,11 +16,11 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#include <gtkmm.h>
#include "popupentry.h"
#include <gdk/gdkkeysyms.h>
#include <gtk/gtkentry.h> /* see XXX below */
-#include <gtkmm.h>
PopupEntry::PopupEntry(const Glib::ustring& path)
diff --git a/examples/others/cellrenderercustom/testpopup.cc b/examples/others/cellrenderercustom/testpopup.cc
index 09a3b0b..eb37094 100644
--- a/examples/others/cellrenderercustom/testpopup.cc
+++ b/examples/others/cellrenderercustom/testpopup.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include "cellrendererlist.h"
#include <gtkmm.h>
+#include "cellrendererlist.h"
#include <sstream>
diff --git a/examples/others/dnd/dndwindow.h b/examples/others/dnd/dndwindow.h
index 7d9d26e..0bee201 100644
--- a/examples/others/dnd/dndwindow.h
+++ b/examples/others/dnd/dndwindow.h
@@ -19,11 +19,7 @@
#ifndef GTKMM_EXAMPLE_DNDWINDOW_H
#define GTKMM_EXAMPLE_DNDWINDOW_H
-#include <gtkmm/label.h>
-#include <gtkmm/window.h>
-#include <gtkmm/table.h>
-#include <gtkmm/image.h>
-#include <gtkmm/button.h>
+#include <gtkmm.h>
#include <list>
class DnDWindow : public Gtk::Window
diff --git a/examples/others/dnd/main.cc b/examples/others/dnd/main.cc
index a37e871..6007d14 100644
--- a/examples/others/dnd/main.cc
+++ b/examples/others/dnd/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "dndwindow.h"
+#include <gtkmm/main.h>
int main (int argc, char *argv[])
{
diff --git a/examples/others/exception/exceptiontest.cc b/examples/others/exception/exceptiontest.cc
index 1330aff..9d54a8f 100644
--- a/examples/others/exception/exceptiontest.cc
+++ b/examples/others/exception/exceptiontest.cc
@@ -1,11 +1,12 @@
#include <iostream>
+#include <gtkmm/box.h>
#include <glibmm/convert.h>
#include <glibmm/exceptionhandler.h>
#include <gtkmm/main.h>
#include <gtkmm/window.h>
#include <gtkmm/button.h>
-#include <gtkmm/box.h>
+
diff --git a/examples/others/gdk/radar.cc b/examples/others/gdk/radar.cc
index 636ac80..74bc4d0 100644
--- a/examples/others/gdk/radar.cc
+++ b/examples/others/gdk/radar.cc
@@ -19,18 +19,17 @@
*/
-#include <gtkmm/drawingarea.h>
-#include <gdkmm/colormap.h>
-#include <gdkmm/window.h>
-
-
-#include <gtkmm/button.h>
#include <gtkmm/box.h>
+#include <gtkmm/button.h>
#include <gtkmm/statusbar.h>
#include <gtkmm/window.h>
#include <gtkmm/main.h>
+#include <gtkmm/drawingarea.h>
+#include <gdkmm/colormap.h>
+#include <gdkmm/window.h>
+
#include <cmath>
#include <cmath>
#include <sstream>
diff --git a/examples/others/idle/idle.cc b/examples/others/idle/idle.cc
index 0fbc224..40cfdc9 100644
--- a/examples/others/idle/idle.cc
+++ b/examples/others/idle/idle.cc
@@ -3,9 +3,9 @@
#include <iostream>
#include <map>
+#include <gtkmm/box.h>
#include <gtkmm/adjustment.h>
#include <gtkmm/button.h>
-#include <gtkmm/box.h>
#include <gtkmm/label.h>
#include <gtkmm/progressbar.h>
#include <gtkmm/main.h>
diff --git a/examples/others/rulers/rulers.cc b/examples/others/rulers/rulers.cc
index b972144..37de972 100644
--- a/examples/others/rulers/rulers.cc
+++ b/examples/others/rulers/rulers.cc
@@ -1,8 +1,8 @@
-#include <gtkmm/main.h>
#include <gtkmm/table.h>
#include <gtkmm/window.h>
#include <gtkmm/ruler.h>
#include <gtkmm/drawingarea.h>
+#include <gtkmm/main.h>
// Gtk-- version of the "rulers" example from the gtk+ tutorial
diff --git a/examples/others/stock/stock.cc b/examples/others/stock/stock.cc
index 4b09db2..e257bfe 100644
--- a/examples/others/stock/stock.cc
+++ b/examples/others/stock/stock.cc
@@ -1,13 +1,14 @@
-#include <gtkmm/main.h>
+
+#include <gtkmm/box.h>
#include <gtkmm/toolbar.h>
#include <gtkmm/button.h>
-#include <gtkmm/box.h>
#include <gtkmm/window.h>
#include <gtkmm/menubar.h>
#include <gtkmm/menu.h>
#include <gtkmm/stock.h>
#include <gtkmm/toolbutton.h>
#include <gtkmm/separatortoolitem.h>
+#include <gtkmm/main.h>
#include <cstdio>
//#include <glib.h>
diff --git a/examples/others/tictactoe/ttt_test.cc b/examples/others/tictactoe/ttt_test.cc
index 22e5681..db7d3d5 100644
--- a/examples/others/tictactoe/ttt_test.cc
+++ b/examples/others/tictactoe/ttt_test.cc
@@ -1,6 +1,7 @@
-#include <gtkmm/main.h>
-#include <gtkmm/window.h>
#include "tictactoe.h"
+#include <gtkmm/window.h>
+#include <gtkmm/main.h>
+
void
win (TicTacToe *ttt)
diff --git a/examples/others/treemodelcustom/main.cc b/examples/others/treemodelcustom/main.cc
index 0daa395..3bfdcd5 100644
--- a/examples/others/treemodelcustom/main.cc
+++ b/examples/others/treemodelcustom/main.cc
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <gtkmm/main.h>
#include "examplewindow.h"
+#include <gtkmm/main.h>
int main(int argc, char *argv[])
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]