[gtkmm] PaperSize: Correct the PaperSizeTraits pre-declaration.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] PaperSize: Correct the PaperSizeTraits pre-declaration.
- Date: Wed, 14 Mar 2012 10:41:54 +0000 (UTC)
commit 0eec6fd533ef14f661fa143a57cf4b01d881be1f
Author: Murray Cumming <murrayc murrayc com>
Date: Wed Mar 14 11:41:46 2012 +0100
PaperSize: Correct the PaperSizeTraits pre-declaration.
* gtk/src/papersize.hg: PaperSizeTraits is a struct, not a class.
clang++ noticed this while building Glom, though I have no run it on all of
gtkmm.
ChangeLog | 8 ++++++++
gtk/src/papersize.hg | 2 +-
2 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 3787d73..04bff47 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2012-03-14 Murray Cumming <murrayc murrayc com>
+
+ PaperSize: Correct the PaperSizeTraits pre-declaration.
+
+ * gtk/src/papersize.hg: PaperSizeTraits is a struct, not a class.
+ clang++ noticed this while building Glom, though I have no run it on all of
+ gtkmm.
+
2012-03-13 Albert Chin <thewrittenword.com>
TreeView: Work around a HP-UX aCC compiler error.
diff --git a/gtk/src/papersize.hg b/gtk/src/papersize.hg
index 7112a73..6629639 100644
--- a/gtk/src/papersize.hg
+++ b/gtk/src/papersize.hg
@@ -24,7 +24,7 @@ namespace Gtk
{
#ifndef DOXYGEN_SHOULD_SKIP_THIS
-class PaperSizeTraits;
+struct PaperSizeTraits;
#endif
/** Common paper names, from PWG 5101.1-2002 PWG: Standard for Media Standardized Names
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]