[cluttermm/cluttermm-1-18] Canvas: Derive from Content.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cluttermm/cluttermm-1-18] Canvas: Derive from Content.
- Date: Wed, 16 Sep 2015 12:13:51 +0000 (UTC)
commit 35e54bcda8bfa4b8a2a4c83a7f89910daed375af
Author: Murray Cumming <murrayc murrayc com>
Date: Wed Sep 16 14:01:52 2015 +0200
Canvas: Derive from Content.
We already used _IMPLEMENTS_INTERFACE() but forgot to do this.
The move constructor generated by the recent gmmproc caused a
compiler error because of this, which is nice.
clutter/src/canvas.hg | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/clutter/src/canvas.hg b/clutter/src/canvas.hg
index 34abb50..2dd565c 100644
--- a/clutter/src/canvas.hg
+++ b/clutter/src/canvas.hg
@@ -28,7 +28,9 @@ namespace Clutter
{
-class Canvas : public Glib::Object
+class Canvas
+: public Glib::Object,
+ public Content
{
_CLASS_GOBJECT(Canvas, ClutterCanvas, CLUTTER_CANVAS, Glib::Object, GObject)
_IMPLEMENTS_INTERFACE(Content)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]