From dde4ae2586249c04da8277135cc5ea35915474aa Mon Sep 17 00:00:00 2001 From: "Jon A. Cruz" Date: Fri, 20 Mar 2009 06:50:37 +0000 Subject: Renamed ColorDef to PaintDef to prep for expanded functionality. (bzr r7528) --- src/interface.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/interface.cpp') 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(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(); -- cgit v1.2.3