summaryrefslogtreecommitdiffstats
path: root/src/interface.cpp
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2009-03-20 06:50:37 +0000
committerjoncruz <joncruz@users.sourceforge.net>2009-03-20 06:50:37 +0000
commitdde4ae2586249c04da8277135cc5ea35915474aa (patch)
tree65fbf6a92a0358d192f0e99a1cee53434803f58c /src/interface.cpp
parentchange color of LPE helperpaths in nodetool (diff)
downloadinkscape-dde4ae2586249c04da8277135cc5ea35915474aa.tar.gz
inkscape-dde4ae2586249c04da8277135cc5ea35915474aa.zip
Renamed ColorDef to PaintDef to prep for expanded functionality.
(bzr r7528)
Diffstat (limited to 'src/interface.cpp')
-rw-r--r--src/interface.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/interface.cpp b/src/interface.cpp
index c162ea6d6..144611c9a 100644
--- a/src/interface.cpp
+++ b/src/interface.cpp
@@ -63,7 +63,7 @@
#include "style.h"
#include "event-context.h"
#include "gradient-drag.h"
-#include "widgets/eek-color-def.h"
+#include "widgets/ege-paint-def.h"
// Include Mac OS X menu synchronization on native OSX build
#ifdef GDK_WINDOWING_QUARTZ
@@ -1243,15 +1243,15 @@ sp_ui_drag_data_received(GtkWidget *widget,
bool worked = false;
Glib::ustring colorspec;
if ( data->format == 8 ) {
- eek::ColorDef color;
+ ege::PaintDef color;
worked = color.fromMIMEData("application/x-oswb-color",
reinterpret_cast<char*>(data->data),
data->length,
data->format);
if ( worked ) {
- if ( color.getType() == eek::ColorDef::CLEAR ) {
+ if ( color.getType() == ege::PaintDef::CLEAR ) {
colorspec = ""; // TODO check if this is sufficient
- } else if ( color.getType() == eek::ColorDef::NONE ) {
+ } else if ( color.getType() == ege::PaintDef::NONE ) {
colorspec = "none";
} else {
unsigned int r = color.getR();