summaryrefslogtreecommitdiffstats
path: root/src/widgets/ege-paint-def.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/ege-paint-def.cpp')
-rw-r--r--src/widgets/ege-paint-def.cpp14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/widgets/ege-paint-def.cpp b/src/widgets/ege-paint-def.cpp
index 2fc6927df..542205b53 100644
--- a/src/widgets/ege-paint-def.cpp
+++ b/src/widgets/ege-paint-def.cpp
@@ -1,6 +1,3 @@
-/** @file
- * @brief EGE paint definition
- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
@@ -50,6 +47,7 @@
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
+#include <glibmm/i18n.h>
#include <glibmm/stringutils.h>
#if !defined(_)
@@ -71,7 +69,8 @@ PaintDef::PaintDef() :
r(0),
g(0),
b(0),
- editable(false)
+ editable(false),
+ _listeners()
{
}
@@ -81,7 +80,8 @@ PaintDef::PaintDef( ColorType type ) :
r(0),
g(0),
b(0),
- editable(false)
+ editable(false),
+ _listeners()
{
switch (type) {
case CLEAR:
@@ -102,7 +102,8 @@ PaintDef::PaintDef( unsigned int r, unsigned int g, unsigned int b, const std::s
r(r),
g(g),
b(b),
- editable(false)
+ editable(false),
+ _listeners()
{
}
@@ -127,6 +128,7 @@ PaintDef& PaintDef::operator=( PaintDef const &other )
b = other.b;
descr = other.descr;
editable = other.editable;
+ //TODO: _listeners should be assigned a value
}
return *this;
}