You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-cpp/gtkmm/files/gtkmm-2.24.4-papersize.patch

46 lines
1.2 KiB

From 4fb3efa910a46364fa8ec4d60fcce557200e4dcb Mon Sep 17 00:00:00 2001
From: Murray Cumming <murrayc@murrayc.com>
Date: Wed, 14 Mar 2012 11:41:46 +0100
Subject: 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 not run it on all of
gtkmm.
diff --git a/ChangeLog b/ChangeLog
index ec2ce5a..73e1eac 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,15 @@
+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 not run it on all of
+ gtkmm.
+
2.24.4:
+
+(Just regenerated with the correct glibmm version.)
+
2.24.3:
2013-04-04 Hubert Figuière <hub@figuiere.net>
diff --git a/gtk/src/papersize.hg b/gtk/src/papersize.hg
index 2e5700d..41fcb3c 100644
--- a/gtk/src/papersize.hg
+++ b/gtk/src/papersize.hg
@@ -21,7 +21,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
--
cgit v0.10.2