[gtkmm-documentation] Fix 'make check' with the latest versions of glib and glibmm.
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm-documentation] Fix 'make check' with the latest versions of glib and glibmm.
- Date: Sun, 3 Mar 2013 18:05:13 +0000 (UTC)
commit 23de17551ca5350e5f5118d382a6ec58b52fb48f
Author: Kjell Ahlstedt <kjell ahlstedt bredband net>
Date: Sun Mar 3 18:59:25 2013 +0100
Fix 'make check' with the latest versions of glib and glibmm.
* examples/book/printing/simple/printformoperation.h: Put #include <gtkmm.h>
before <pangomm.h>. Necessary because <glib.h> must be included when
G_DISABLE_DEPRECATED is undefined. glibmm/threads.h uses deprecated stuff.
ChangeLog | 8 ++++++++
examples/book/printing/simple/printformoperation.h | 2 +-
2 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index ee932b7..f70ec98 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2013-03-03 Kjell Ahlstedt <kjell ahlstedt bredband net>
+
+ Fix 'make check' with the latest versions of glib and glibmm.
+
+ * examples/book/printing/simple/printformoperation.h: Put #include <gtkmm.h>
+ before <pangomm.h>. Necessary because <glib.h> must be included when
+ G_DISABLE_DEPRECATED is undefined. glibmm/threads.h uses deprecated stuff.
+
2013-02-19 Chris Vine <chris cvine freeserve co uk>
Amend the "Multi-threaded programs" chapter.
diff --git a/examples/book/printing/simple/printformoperation.h
b/examples/book/printing/simple/printformoperation.h
index 9abe288..303ae59 100644
--- a/examples/book/printing/simple/printformoperation.h
+++ b/examples/book/printing/simple/printformoperation.h
@@ -17,8 +17,8 @@
#ifndef GTKMM_PRINT_FORM_OPERATION_H
#define GTKMM_PRINT_FORM_OPERATION_H
-#include <pangomm.h>
#include <gtkmm.h>
+#include <pangomm.h>
#include <vector>
//We derive our own class from PrintOperation,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]