[cluttermm] LayoutMeta: Make the constructor explicit.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cluttermm] LayoutMeta: Make the constructor explicit.
- Date: Mon, 10 Jan 2011 21:41:20 +0000 (UTC)
commit b87b4cd3bdf58122618d57559446333cb31e61be
Author: Murray Cumming <murrayc murrayc com>
Date: Mon Jan 10 22:41:12 2011 +0100
LayoutMeta: Make the constructor explicit.
* clutter/src/layoutmeta.hg: Use the explicit keyword on the constructor,
as we do elsewhere in *mm projects.
ChangeLog | 7 +++++++
clutter/src/layoutmeta.hg | 7 +++----
2 files changed, 10 insertions(+), 4 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index f69cce3..cf8f2d4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2011-01-10 Murray Cumming <murrayc murrayc com>
+ LayoutMeta: Make the constructor explicit.
+
+ * clutter/src/layoutmeta.hg: Use the explicit keyword on the constructor,
+ as we do elsewhere in *mm projects.
+
+2011-01-10 Murray Cumming <murrayc murrayc com>
+
LayoutManager: Wrap the vfuncs.
* clutter/src/clutter_vfuncs.defs: Fix a typo.
diff --git a/clutter/src/layoutmeta.hg b/clutter/src/layoutmeta.hg
index 6df1698..641191e 100644
--- a/clutter/src/layoutmeta.hg
+++ b/clutter/src/layoutmeta.hg
@@ -21,15 +21,14 @@
_DEFS(cluttermm,clutter)
_PINCLUDE(cluttermm/private/childmeta_p.h)
-namespace Clutter{
-
- //class LayoutManager;
+namespace Clutter
+{
class LayoutMeta : public ChildMeta
{
_CLASS_GOBJECT(LayoutMeta, ClutterLayoutMeta, CLUTTER_LAYOUT_META, ChildMeta, ClutterChildMeta)
protected:
- LayoutMeta(const Glib::RefPtr<LayoutManager>& layoutManager);
+ explicit LayoutMeta(const Glib::RefPtr<LayoutManager>& layoutManager);
public:
_WRAP_METHOD(Glib::RefPtr<LayoutManager> get_manager(), clutter_layout_meta_get_manager, refreturn)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]